Also fix messages returned from json_tokener_error_desc() (broke due to the ordering change of enum json_tokener_error)
This commit is contained in:
1 parent
3dad6941da
commit
6dd8618170
1 file changed
+2
-2
+2
-2
@@ -104,7 +104,6 @@ static const char *json_tokener_errors[] = {
|
|||||||
"success",
|
"success",
|
||||||
"continue",
|
"continue",
|
||||||
"nesting too deep",
|
"nesting too deep",
|
||||||
"out of memory",
|
|
||||||
"unexpected end of data",
|
"unexpected end of data",
|
||||||
"unexpected character",
|
"unexpected character",
|
||||||
"null expected",
|
"null expected",
|
||||||
@@ -117,7 +116,8 @@ static const char *json_tokener_errors[] = {
|
|||||||
"invalid string sequence",
|
"invalid string sequence",
|
||||||
"expected comment",
|
"expected comment",
|
||||||
"invalid utf-8 string",
|
"invalid utf-8 string",
|
||||||
"buffer size overflow"
|
"buffer size overflow",
|
||||||
|
"out of memory"
|
||||||
};
|
};
|
||||||
/* clang-format on */
|
/* clang-format on */
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user