aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 785f3a8f7..7103f6d6d 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -779,7 +779,7 @@ decode_keys_json (const json_t *resp_obj,
EXITIF (NULL == (sign_keys_array =
json_object_get (resp_obj,
"signkeys")));
- EXITIF (JSON_ARRAY != json_typeof (sign_keys_array));
+ EXITIF (! json_is_array (sign_keys_array));
if (0 != (key_data->num_sign_keys =
json_array_size (sign_keys_array)))
{