Skip to content

Commit abddbd5

Browse files
committed
Merge commit 'refs/pullreqs/231' into bsdmake
Closes lloyd/yajl#231
2 parents 47538fc + 028d384 commit abddbd5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/yajl.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ yajl_complete_parse(yajl_handle hand)
193193
* get an error string describing the state of the parse.
194194
*
195195
* If verbose is non-zero, the message will include the JSON text where the
196-
* error occured, along with an arrow pointing to the specific char.
196+
* error occurred, along with an arrow pointing to the specific char.
197197
*
198198
* \returns A dynamically allocated string will be returned which should be
199199
* freed with yajl_free_error
@@ -214,7 +214,7 @@ yajl_get_error(yajl_handle hand, int verbose,
214214
*
215215
* In the event an error is encountered during parsing, this function
216216
* affords the client a way to get the offset into the most recent
217-
* chunk where the error occured. 0 will be returned if no error
217+
* chunk where the error occurred. 0 will be returned if no error
218218
* was encountered.
219219
+*/
220220
size_t

src/yajl/yajl_parse.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ extern "C" {
3434
yajl_status_ok,
3535
/*+ a client callback returned zero, stopping the parse +*/
3636
yajl_status_client_canceled,
37-
/*+ An error occured during the parse. Call yajl_get_error for
38-
* more information about the encountered error +*/
37+
/*+ An error occurred during the parse. Call yajl_get_error() for
38+
* more information about the encountered error */
3939
yajl_status_error
4040
} yajl_status;
4141

0 commit comments

Comments
 (0)