summaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json.c4
-rw-r--r--src/json/json_wire.c2
-rw-r--r--src/json/test_json_wire.c3
3 files changed, 5 insertions, 4 deletions
diff --git a/src/json/json.c b/src/json/json.c
index 67d62605f..a1a2c6fb4 100644
--- a/src/json/json.c
+++ b/src/json/json.c
@@ -38,8 +38,8 @@
* @return #GNUNET_OK on success, #GNUNET_SYSERR on error
*/
int
-TALER_JSON_hash (const json_t *json,
- struct GNUNET_HashCode *hc)
+TALER_JSON_contract_hash (const json_t *json,
+ struct GNUNET_HashCode *hc)
{
char *wire_enc;
size_t len;
diff --git a/src/json/json_wire.c b/src/json/json_wire.c
index 7d3453e16..78bb1b419 100644
--- a/src/json/json_wire.c
+++ b/src/json/json_wire.c
@@ -343,7 +343,7 @@ validate_payto_iban (const char *account_url)
IBAN_PREFIX,
strlen (IBAN_PREFIX)))
return GNUNET_NO;
-
+
iban = strrchr (account_url, '/') + 1;
#undef IBAN_PREFIX
q = strchr (iban,
diff --git a/src/json/test_json_wire.c b/src/json/test_json_wire.c
index 75208c40a..f9264c61c 100644
--- a/src/json/test_json_wire.c
+++ b/src/json/test_json_wire.c
@@ -33,7 +33,8 @@ main (int argc,
json_t *wire_xtalerbank;
json_t *wire_iban;
const char *payto_xtalerbank = "payto://x-taler-bank/42";
- const char *payto_iban = "payto://iban/BIC-TO-BE-SKIPPED/DE89370400440532013000";
+ const char *payto_iban =
+ "payto://iban/BIC-TO-BE-SKIPPED/DE89370400440532013000";
char *p_xtalerbank;
char *p_iban;