diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-07 18:51:14 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-07 18:51:54 +0100 |
commit | 8d312562bf04eeb2afac53a2f24624f8e48529bd (patch) | |
tree | ff8ee7336406c4f8805ed9cee320acd105e77004 /src/lib/auditor_api_handle.c | |
parent | dde5d38c4f895b53f4bd3423487573fc3e884351 (diff) | |
download | exchange-8d312562bf04eeb2afac53a2f24624f8e48529bd.tar.xz |
adjust ECs
Diffstat (limited to 'src/lib/auditor_api_handle.c')
-rw-r--r-- | src/lib/auditor_api_handle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/auditor_api_handle.c b/src/lib/auditor_api_handle.c index 5a293584f..d3cecf75b 100644 --- a/src/lib/auditor_api_handle.c +++ b/src/lib/auditor_api_handle.c @@ -212,7 +212,7 @@ decode_version_json (const json_t *resp_obj, if (JSON_OBJECT != json_typeof (resp_obj)) { GNUNET_break_op (0); - return TALER_EC_JSON_INVALID; + return TALER_EC_GENERIC_JSON_INVALID; } /* check the version */ if (GNUNET_OK != @@ -221,7 +221,7 @@ decode_version_json (const json_t *resp_obj, NULL, NULL)) { GNUNET_break_op (0); - return TALER_EC_JSON_INVALID; + return TALER_EC_GENERIC_JSON_INVALID; } if (3 != sscanf (ver, "%u:%u:%u", @@ -230,7 +230,7 @@ decode_version_json (const json_t *resp_obj, &age)) { GNUNET_break_op (0); - return TALER_EC_VERSION_MALFORMED; + return TALER_EC_GENERIC_VERSION_MALFORMED; } auditor->version = GNUNET_strdup (ver); vi->version = auditor->version; @@ -307,7 +307,7 @@ version_completed_cb (void *cls, GNUNET_break_op (0); TALER_LOG_WARNING ("NULL body for a 200-OK /version\n"); hr.http_status = 0; - hr.ec = TALER_EC_INVALID_RESPONSE; + hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; break; } hr.ec = decode_version_json (resp_obj, |