From c33bb6c1c38fa179e9aa948d0e4e6520366bfbbf Mon Sep 17 00:00:00 2001 From: Sadhyama Vengilat Date: Thu, 7 Feb 2019 16:42:42 +0530 Subject: [PATCH] To correct the spelling 'webpa-inteface-used' in convey header --- src/config.h | 2 +- tests/test_crud_internal.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.h b/src/config.h index eaff16f8..28ae3e0e 100644 --- a/src/config.h +++ b/src/config.h @@ -42,7 +42,7 @@ extern "C" { #define BOOT_TIME "boot-time" #define LAST_RECONNECT_REASON "webpa-last-reconnect-reason" #define WEBPA_PROTOCOL "webpa-protocol" -#define WEBPA_INTERFACE "webpa-inteface-used" +#define WEBPA_INTERFACE "webpa-interface-used" #define WEBPA_UUID "webpa-uuid" #define WEBPA_URL "webpa-url" #define WEBPA_PING_TIMEOUT "webpa-ping-timeout" diff --git a/tests/test_crud_internal.c b/tests/test_crud_internal.c index 152c44df..b517de36 100644 --- a/tests/test_crud_internal.c +++ b/tests/test_crud_internal.c @@ -165,7 +165,7 @@ void test_retrieveFromMemory() assert_int_equal (ret, 0); ret = retrieveFromMemory("webpa-protocol", &jsonresponse ); assert_int_equal (ret, 0); - ret = retrieveFromMemory("webpa-inteface-used", &jsonresponse ); + ret = retrieveFromMemory("webpa-interface-used", &jsonresponse ); assert_int_equal (ret, 0); ret = retrieveFromMemory("webpa-backoff-max", &jsonresponse ); assert_int_equal (ret, 0); @@ -200,7 +200,7 @@ void test_retrieveFromMemoryFailure() assert_int_equal (ret, -1); ret = retrieveFromMemory("webpa-protocol", &jsonresponse ); assert_int_equal (ret, -1); - ret = retrieveFromMemory("webpa-inteface-used", &jsonresponse ); + ret = retrieveFromMemory("webpa-interface-used", &jsonresponse ); assert_int_equal (ret, -1); ret = retrieveFromMemory("webpa-backoff-max", &jsonresponse ); assert_int_equal (ret, 0);