Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1713557892, "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":"bdbc5c8288d9ed645aa863c947dc8f25", "commit": {"type":"commit", "time": 1575222485, "time_ofs": 0, "oid_tree": { "oid": "22a3da0cd5d62f4fa96c896fda4ef6735f3eaf53", "alias": []}, "oid":{ "oid": "de8bb9ade7904469ac0f262f2f3e5c3046f240a2", "alias": []}, "msg": "pmd: create_context: warn if info.extensions non-NULL if built without EXTENSIONS", "sig_commit": { "git_time": { "time": 1575222485, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1575222485, "offset": 0 }, "name": "Olivier Langlois", "email": "olivier@olivierlanglois.net", "md5": "f7b1f5a6053829e61aacac0bb612387e" }}, "body": "pmd: create_context: warn if info.extensions non-NULL if built without EXTENSIONS" , "diff": "diff --git a/lib/core/context.c b/lib/core/context.c\nindex 583e914..81a1926 100644\n--- a/lib/core/context.c\n+++ b/lib/core/context.c\n@@ -243,6 +243,10 @@ lws_create_context(const struct lws_context_creation_info *info)\n \tcontext-\u003edetailed_latency_filepath \u003d info-\u003edetailed_latency_filepath;\n \tcontext-\u003elatencies_fd \u003d -1;\n #endif\n+#if defined(LWS_WITHOUT_EXTENSIONS)\n+ if (info-\u003eextensions)\n+ lwsl_warn(\u0022%s: LWS_WITHOUT_EXTENSIONS but extensions ptr set\u005cn\u0022, __func__);\n+#endif\n #endif\n \n \t/* if he gave us names, set the uid / gid */\n","s":{"c":1713557892,"u": 2850}} ],"g": 3721,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}