Skip to content

Commit

Permalink
Typos found by codespell (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos authored Aug 25, 2021
1 parent 324a6ac commit 7795249
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cJSON.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ CJSON_PUBLIC(cJSON_bool) cJSON_Compare(const cJSON * const a, const cJSON * cons

/* Minify a strings, remove blank characters(such as ' ', '\t', '\r', '\n') from strings.
* The input pointer json cannot point to a read-only address area, such as a string constant,
* but should point to a readable and writable adress area. */
* but should point to a readable and writable address area. */
CJSON_PUBLIC(void) cJSON_Minify(char *json);

/* Helper functions for creating and adding items to an object at the same time.
Expand Down
2 changes: 1 addition & 1 deletion tests/json_patch_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static cJSON_bool test_apply_patch(const cJSON * const test)
}
else
{
printf("Testing unkown\n");
printf("Testing unknown\n");
}

disabled = cJSON_GetObjectItemCaseSensitive(test, "disabled");
Expand Down

0 comments on commit 7795249

Please sign in to comment.