summaryrefslogtreecommitdiff
path: root/src/json/json.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-07 18:51:14 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-07 18:51:54 +0100
commit8d312562bf04eeb2afac53a2f24624f8e48529bd (patch)
treeff8ee7336406c4f8805ed9cee320acd105e77004 /src/json/json.c
parentdde5d38c4f895b53f4bd3423487573fc3e884351 (diff)
downloadexchange-8d312562bf04eeb2afac53a2f24624f8e48529bd.tar.gz
exchange-8d312562bf04eeb2afac53a2f24624f8e48529bd.tar.bz2
exchange-8d312562bf04eeb2afac53a2f24624f8e48529bd.zip
adjust ECs
Diffstat (limited to 'src/json/json.c')
-rw-r--r--src/json/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/json.c b/src/json/json.c
index 26685719..78867a91 100644
--- a/src/json/json.c
+++ b/src/json/json.c
@@ -616,7 +616,7 @@ TALER_JSON_get_error_code (const json_t *json)
if (NULL == json)
{
GNUNET_break_op (0);
- return TALER_EC_INVALID_RESPONSE;
+ return TALER_EC_GENERIC_INVALID_RESPONSE;
}
jc = json_object_get (json, "code");
/* The caller already knows that the JSON represents an error,