load.c: Change an error message

This commit is contained in:
Petri Lehtinen 2013-09-30 09:24:36 +03:00
parent b961e8101e
commit 78a80b8899

View File

@ -701,7 +701,7 @@ static json_t *parse_object(lex_t *lex, size_t flags, json_error_t *error)
return NULL;
if (memchr(key, len, '\0')) {
jsonp_free(key);
error_set(error, lex, "nul char in object key not supported");
error_set(error, lex, "NUL byte in object key not supported");
goto error;
}