Based on Maxim Koltsov proposed patch from https://bugs.gentoo.org/show_bug.cgi?id=507730
This commit is contained in:
Thomas D 2014-04-15 17:56:05 +02:00 committed by Rainer Gerhards
parent d322a9d51e
commit d6f5d5aae5

View File

@ -146,7 +146,7 @@ processJSON(instanceData *pData, msg_t *pMsg, char *buf, size_t lenBuf)
err = pData->tokener->err;
if(err != json_tokener_continue)
errMsg = json_tokener_errors[err];
errMsg = json_tokener_error_desc(err);
else
errMsg = "Unterminated input";
} else if((size_t)pData->tokener->char_offset < lenBuf)