Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1711616978, "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":"5384e99e661f954edbbc95ec41e92ea5", "commit": {"type":"commit", "time": 1526885020, "time_ofs": 480, "oid_tree": { "oid": "b18305465ad1e0d2d9094e6881e5067151fad406", "alias": []}, "oid":{ "oid": "621cdd7c4f2139f38aeb57e692950fee7bd6ff4b", "alias": []}, "msg": "adopt: fix raw protocol binding", "sig_commit": { "git_time": { "time": 1526885020, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1526885020, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "adopt: fix raw protocol binding" , "diff": "diff --git a/lib/roles/raw-skt/ops-raw-skt.c b/lib/roles/raw-skt/ops-raw-skt.c\nindex 2dbd3b2..b22f5e5 100644\n--- a/lib/roles/raw-skt/ops-raw-skt.c\n+++ b/lib/roles/raw-skt/ops-raw-skt.c\n@@ -152,7 +152,7 @@ rops_adoption_bind_raw_skt(struct lws *wsi, int type, const char *vh_prot_name)\n \t\twsi-\u003eudp \u003d lws_malloc(sizeof(*wsi-\u003eudp), \u0022udp struct\u0022);\n #endif\n \n-\tif (!vh_prot_name)\n+\tif (vh_prot_name)\n \t\tlws_bind_protocol(wsi, wsi-\u003eprotocol);\n \telse\n \t\t/* this is the only time he will transition */\n","s":{"c":1711616978,"u": 3241}} ],"g": 4227,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}