{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1752649810,
"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":"e6c715079bf6838c7273e3917433b9da",
"commit": {"type":"commit",
"time": 1636619691,
"time_ofs": 0,
"oid_tree": { "oid": "1a74dbf326197b29ac69d028c77a763874569cb8", "alias": []},
"oid":{ "oid": "8ddcb16ef111a3b600ca0fa5dd18c704934f442b", "alias": []},
"msg": "freertos-service: remove cruft",
"sig_commit": { "git_time": { "time": 1636619691, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1636448281, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "freertos-service: remove cruft\n\nThis can't be reached currently, so remove it and simplify the setting of c\nto the exact equivalent.\n\n"
,
"diff": "diff --git a/lib/plat/freertos/freertos-service.c b/lib/plat/freertos/freertos-service.c\nindex 41f55fc..795e382 100644\n--- a/lib/plat/freertos/freertos-service.c\n+++ b/lib/plat/freertos/freertos-service.c\n@@ -191,15 +191,7 @@ again:\n \t\ta \u003d 1;\n \n \tm \u003d lws_service_flag_pending(context, tsi);\n-\tif (m)\n-\t\tc \u003d -1; /* unknown limit */\n-\telse\n-\t\tif (n \u003c 0) {\n-\t\t\tif (LWS_ERRNO !\u003d LWS_EINTR)\n-\t\t\t\treturn -1;\n-\t\t\treturn 0;\n-\t\t} else\n-\t\t\tc \u003d n;\n+\tc \u003d m ? -1 : n;\n \n \t/* any socket with events to service? */\n \tfor (n \u003d 0; n \u003c (int)pt-\u003efds_count \u0026\u0026 c; n++) {\n","s":{"c":1752649810,"u": 1998}}
],"g": 2823,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}