From 7795249dd42ad4fa9874c57947a699567b896fd1 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 25 Aug 2021 10:01:12 +0300 Subject: [PATCH] Typos found by codespell (#607) --- cJSON.h | 2 +- tests/json_patch_tests.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cJSON.h b/cJSON.h index e97e5f4..b7b069a 100644 --- a/cJSON.h +++ b/cJSON.h @@ -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. diff --git a/tests/json_patch_tests.c b/tests/json_patch_tests.c index c2c88a4..7c3d6ae 100644 --- a/tests/json_patch_tests.c +++ b/tests/json_patch_tests.c @@ -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");