Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1711628901, "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":"94c813332fc67e912fc70a2d0026db1f", "commit": {"type":"commit", "time": 1509015372, "time_ofs": 480, "oid_tree": { "oid": "865731f8a9f31bebcb78934230ce6b71f967ae26", "alias": []}, "oid":{ "oid": "fbd524e34adcecf2d9d02927a9c0e1794782debd", "alias": []}, "msg": "cgi: make sure compiler cant see uninitialized use", "sig_commit": { "git_time": { "time": 1509015372, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1509015372, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "cgi: make sure compiler cant see uninitialized use\n" , "diff": "diff --git a/lib/server/cgi.c b/lib/server/cgi.c\nindex 1b9dfe4..37ddbb1 100644\n--- a/lib/server/cgi.c\n+++ b/lib/server/cgi.c\n@@ -116,7 +116,7 @@ lws_cgi(struct lws *wsi, const char * const *exec_array, int script_uri_path_len\n \tchar *env_array[30], cgi_path[400], e[1024], *p \u003d e,\n \t *end \u003d p + sizeof(e) - 1, tok[256], *t;\n \tstruct lws_cgi *cgi;\n-\tint n, m, i, uritok \u003d -1;\n+\tint n, m \u003d 0, i, uritok \u003d -1;\n \n \t/*\n \t * give the master wsi a cgi struct\n","s":{"c":1711628901,"u": 2838}} ],"g": 3926,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}