Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1754388186, "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":"b4a2eb4d445ca15e2140ad4ff59f702c", "commit": {"type":"commit", "time": 1580825778, "time_ofs": 0, "oid_tree": { "oid": "c0e057b7a7201d22a0e431bda25692a51cbcee12", "alias": []}, "oid":{ "oid": "31c11451efb954982d769c92b21f377636f22c5d", "alias": []}, "msg": "lws_ring: use __mtail instead of hardcoded tail", "sig_commit": { "git_time": { "time": 1580825778, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1579702547, "offset": 0 }, "name": "Piotr Nazimek", "email": "pnazimek@gmail.com", "md5": "bd331213977d2081d4ab161b1b0223a5" }}, "body": "lws_ring: use __mtail instead of hardcoded tail\n\nChanged harcoded member name \u0022tail\u0022 into ___mtail in lws_ring_consume_and_update_oldest_tail macro." , "diff": "diff --git a/include/libwebsockets/lws-ring.h b/include/libwebsockets/lws-ring.h\nindex ba2ac11..2343fa2 100644\n--- a/include/libwebsockets/lws-ring.h\n+++ b/include/libwebsockets/lws-ring.h\n@@ -278,10 +278,10 @@ lws_ring_dump(struct lws_ring *ring, uint32_t *tail);\n \t\t___oldest \u003d *(___ptail); \u005c\n \t\tlws_start_foreach_llp(___type **, ___ppss, ___list_head) { \u005c\n \t\t\t___m \u003d lws_ring_get_count_waiting_elements( \u005c\n-\t\t\t\t\t___ring, \u0026(*___ppss)-\u003etail); \u005c\n+\t\t\t\t\t___ring, \u0026(*___ppss)-\u003e___mtail); \u005c\n \t\t\tif (___m \u003e\u003d ___n) { \u005c\n \t\t\t\t___n \u003d ___m; \u005c\n-\t\t\t\t___oldest \u003d (*___ppss)-\u003etail; \u005c\n+\t\t\t\t___oldest \u003d (*___ppss)-\u003e___mtail; \u005c\n \t\t\t} \u005c\n \t\t} lws_end_foreach_llp(___ppss, ___mlist); \u005c\n \t\u005c\n","s":{"c":1754388186,"u": 1673}} ],"g": 3000,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}