load.c: Change an error message
This commit is contained in:
parent
b961e8101e
commit
78a80b8899
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user