{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1753168964,
"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":"10e8e7e347a2f362dedb7f8a3c487a8e",
"commit": {"type":"commit",
"time": 1571832536,
"time_ofs": 60,
"oid_tree": { "oid": "df73d6052f1ede832b5fbeb4d1777364a13a2078", "alias": []},
"oid":{ "oid": "7d8036b72eacd16d521975e163659c74d4ac01bd", "alias": []},
"msg": "humanize: export schema arrays to include lengths",
"sig_commit": { "git_time": { "time": 1571832536, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1571832527, "offset": 60 }, "name": "Maciek Sipior", "email": "macieksipior@user.github.invalid", "md5": "2f5e2f4ea0322fbca0f663213142c3da" }},
"body": "humanize: export schema arrays to include lengths\n\nDue to windows compiler choking on it otherwise"
,
"diff": "diff --git a/include/libwebsockets/lws-misc.h b/include/libwebsockets/lws-misc.h\nindex 721728b..5f4c833 100644\n--- a/include/libwebsockets/lws-misc.h\n+++ b/include/libwebsockets/lws-misc.h\n@@ -637,19 +637,19 @@ typedef struct lws_humanize_unit {\n \tuint64_t factor;\n } lws_humanize_unit_t;\n \n-LWS_VISIBLE LWS_EXTERN const lws_humanize_unit_t humanize_schema_si[];\n-LWS_VISIBLE LWS_EXTERN const lws_humanize_unit_t humanize_schema_si_bytes[];\n-LWS_VISIBLE LWS_EXTERN const lws_humanize_unit_t humanize_schema_us[];\n+LWS_VISIBLE LWS_EXTERN const lws_humanize_unit_t humanize_schema_si[7];\n+LWS_VISIBLE LWS_EXTERN const lws_humanize_unit_t humanize_schema_si_bytes[7];\n+LWS_VISIBLE LWS_EXTERN const lws_humanize_unit_t humanize_schema_us[8];\n \n /**\n- * lws_humanize() - Convert possibly large number to himan-readable uints\n+ * lws_humanize() - Convert possibly large number to human-readable uints\n *\n * \u005cparam buf: result string buffer\n * \u005cparam len: remaining length in \u005cp buf\n * \u005cparam value: the uint64_t value to represent\n * \u005cparam schema: and array of scaling factors and units\n *\n- * This produces a concise string representation of \u005cp value, referening the\n+ * This produces a concise string representation of \u005cp value, referencing the\n * schema \u005cp schema of scaling factors and units to find the smallest way to\n * render it.\n *\n","s":{"c":1753168964,"u": 3122}}
],"g": 4407,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}