{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1752652957,
"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":"56cef4fc678748a73bf7c54904b6adf6",
"commit": {"type":"commit",
"time": 1586791050,
"time_ofs": 60,
"oid_tree": { "oid": "95390aaea3e6b20ffd6020aeec5bc3f2f44b06db", "alias": []},
"oid":{ "oid": "dc3a1123fcfa88b06d665aaa0039195600aa2cce", "alias": []},
"msg": "alloc.c: add license header MIME-Version: 1.0 Content-Type: text/plain; charset\u003dUTF-8 Con",
"sig_commit": { "git_time": { "time": 1586791050, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1586790659, "offset": 180 }, "name": "Octavia93", "email": "63444430+Octavia93@users.noreply.github.com", "md5": "18b3ce709c4f59976b6fc86e1be5ff7d" }},
"body": "alloc.c: add license header\nMIME-Version: 1.0\nContent-Type: text/plain; charset\u003dUTF-8\nContent-Transfer-Encoding: 8bit\n\nIs this file also licensed under MIT license, I don’t see a license header like the other files in this repo?\n"
,
"diff": "diff --git a/lib/core/alloc.c b/lib/core/alloc.c\nindex 1e6a8a7..7194068 100644\n--- a/lib/core/alloc.c\n+++ b/lib/core/alloc.c\n@@ -1,3 +1,27 @@\n+/*\n+ * libwebsockets - small server side websockets and web server implementation\n+ *\n+ * Copyright (C) 2010 - 2020 Andy Green \u003candy@warmcat.com\u003e\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \u0022Software\u0022), to\n+ * deal in the Software without restriction, including without limitation the\n+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n+ * sell copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in\n+ * all copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \u0022AS IS\u0022, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n+ * IN THE SOFTWARE.\n+ */\n+\n #include \u0022private-lib-core.h\u0022\n \n #if defined(LWS_HAVE_MALLOC_USABLE_SIZE)\n","s":{"c":1752652957,"u": 1626}}
],"g": 2990,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}