Skip to content

Commit

Permalink
Merge commit 'refs/pullreqs/231' into bsdmake
Browse files Browse the repository at this point in the history
  • Loading branch information
robohack committed Nov 12, 2021
2 parents 7b92f2b + 028d384 commit a379e81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/yajl.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ yajl_complete_parse(yajl_handle hand)
* get an error string describing the state of the parse.
*
* If verbose is non-zero, the message will include the JSON text where the
* error occured, along with an arrow pointing to the specific char.
* error occurred, along with an arrow pointing to the specific char.
*
* \returns A dynamically allocated string will be returned which should be
* freed with yajl_free_error
Expand All @@ -214,7 +214,7 @@ yajl_get_error(yajl_handle hand, int verbose,
*
* In the event an error is encountered during parsing, this function
* affords the client a way to get the offset into the most recent
* chunk where the error occured. 0 will be returned if no error
* chunk where the error occurred. 0 will be returned if no error
* was encountered.
+*/
size_t
Expand Down
2 changes: 1 addition & 1 deletion src/yajl/yajl_parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extern "C" {
yajl_status_ok,
/*+ a client callback returned zero, stopping the parse +*/
yajl_status_client_canceled,
/*+ An error occured during the parse. Call yajl_get_error for
/*+ An error occurred during the parse. Call yajl_get_error for
* more information about the encountered error +*/
yajl_status_error
} yajl_status;
Expand Down

0 comments on commit a379e81

Please sign in to comment.