summaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
Diffstat (limited to 'src/json')
-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 266857198..78867a913 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,