summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-24 20:57:04 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-24 20:57:04 +0200
commite2e8d62574060e43036ba9cf73e5acef52fdb049 (patch)
treeff82fd7893c53140a1c250b794d6eae9d4f6f53e
parent6772037321c96aed73e898e3328286c219bcf7c8 (diff)
downloadexchange-e2e8d62574060e43036ba9cf73e5acef52fdb049.tar.gz
exchange-e2e8d62574060e43036ba9cf73e5acef52fdb049.tar.bz2
exchange-e2e8d62574060e43036ba9cf73e5acef52fdb049.zip
need array terminator
-rw-r--r--src/json/json_wire.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/json/json_wire.c b/src/json/json_wire.c
index 837263c1e..1cd3fd7d5 100644
--- a/src/json/json_wire.c
+++ b/src/json/json_wire.c
@@ -380,7 +380,10 @@ validate_payto (const char *account_url)
return GNUNET_SYSERR; /* not payto */
#undef PAYTO_PREFIX
if (GNUNET_NO != (ret = validate_payto_iban (account_url)))
+ {
+ GNUNET_break_op (GNUNET_SYSERR != ret);
return ret; /* got a definitive answer */
+ }
/* Insert other bank account validation methods here later! */
return GNUNET_NO;
}
@@ -416,6 +419,9 @@ TALER_JSON_merchant_wire_signature_hash (const json_t *wire_s,
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Validating `%s'\n",
+ payto_uri);
if (GNUNET_SYSERR == validate_payto (payto_uri))
{
GNUNET_break_op (0);