fix uninitialized variable

This commit is contained in:
Andrew Pamment 2018-01-29 17:38:36 +10:00
parent ebc815e6b1
commit 924130b40a

View File

@ -489,6 +489,8 @@ int l_postMessage(lua_State *L) {
msg = (char *)malloc(strlen(body) + 2 + strlen(buffer));
j = 0;
for (i=0;i<strlen(body);i++) {
if (body[i] == '\n') {
continue;