Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1755713391, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ {"schema":"libjg2-1", "cid":"c030426e470e6ba832f798a3c75dd51f", "commit": {"type":"commit", "time": 1577953854, "time_ofs": 0, "oid_tree": { "oid": "45c7eb4bfc67edaa9620ff41ee9a5a32629a03be", "alias": []}, "oid":{ "oid": "f33b3443e3998a23f3a9ecfc158eacd28b2cfcbd", "alias": []}, "msg": "logs: use single nonmonotonic usec count", "sig_commit": { "git_time": { "time": 1577953854, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1577894802, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "logs: use single nonmonotonic usec count" , "diff": "diff --git a/lib/core/logs.c b/lib/core/logs.c\nindex 4ccbb1e..43d40ae 100644\n--- a/lib/core/logs.c\n+++ b/lib/core/logs.c\n@@ -88,7 +88,7 @@ lwsl_timestamp(int level, char *p, int len)\n \tfor (n \u003d 0; n \u003c LLL_COUNT; n++) {\n \t\tif (level !\u003d (1 \u003c\u003c n))\n \t\t\tcontinue;\n-\t\tnow \u003d lws_now_usecs() / 100;\n+\n \t\tif (ptm)\n \t\t\tn \u003d lws_snprintf(p, len,\n \t\t\t\t\u0022[%04d/%02d/%02d %02d:%02d:%02d:%04d] %s: \u0022,\n","s":{"c":1755713391,"u": 1598}} ],"g": 2361,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}