cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

commit 0b5a7abf489e52d0e20a3de03bfffd674142b900
parent 93688cbe72b190300d1be6b98e86b772df9b9ead
Author: Max Bruckner <max@maxbruckner.de>
Date:   Mon, 15 Apr 2019 23:06:11 +0200

Merge pull request #340 from ldm0/master

Typo Fix
Diffstat:
McJSON.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cJSON.c b/cJSON.c @@ -514,7 +514,7 @@ static cJSON_bool print_number(const cJSON * const item, printbuffer * const out } } - /* sprintf failed or buffer overrun occured */ + /* sprintf failed or buffer overrun occurred */ if ((length < 0) || (length > (int)(sizeof(number_buffer) - 1))) { return false; @@ -1565,7 +1565,7 @@ static cJSON_bool parse_object(cJSON * const item, parse_buffer * const input_bu buffer_skip_whitespace(input_buffer); if (!parse_string(current_item, input_buffer)) { - goto fail; /* faile to parse name */ + goto fail; /* failed to parse name */ } buffer_skip_whitespace(input_buffer);