{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1762031085,
"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":"9a7c5e28049ff5187f7d865206ae948c",
"commit": {"type":"commit",
"time": 1634136982,
"time_ofs": 60,
"oid_tree": { "oid": "7dbef171299864eaa243edd30dbef172180196f5", "alias": []},
"oid":{ "oid": "c3515cd6d9ee903b7af4517e1bd6684767260cee", "alias": []},
"msg": "mqtt: protect printing debug only vars",
"sig_commit": { "git_time": { "time": 1634136982, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1634136753, "offset": 60 }, "name": "Yichen Gu", "email": "guyiche@amazon.com", "md5": "20b6c52ee176e8bd161a1df8ad7deb42" }},
"body": "mqtt: protect printing debug only vars\n\n"
,
"diff": "diff --git a/lib/roles/mqtt/mqtt.c b/lib/roles/mqtt/mqtt.c\nindex b661343..7170b2e 100644\n--- a/lib/roles/mqtt/mqtt.c\n+++ b/lib/roles/mqtt/mqtt.c\n@@ -2362,8 +2362,10 @@ lws_mqtt_client_send_unsubcribe(struct lws *wsi,\n \n \t\twsi-\u003emqtt-\u003esub_size \u003d (uint16_t)rem_len;\n \n+#if defined(_DEBUG)\n \t\tlwsl_debug(\u0022%s: Number of topics \u003d %d, Remaining len \u003d %d\u005cn\u0022,\n \t\t\t __func__, (int)tops, (int)rem_len);\n+#endif\n \n \t\tp +\u003d lws_mqtt_vbi_encode(rem_len, p);\n \n","s":{"c":1762031085,"u": 6845}}
],"g": 7595,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}