summaryrefslogtreecommitdiff
path: root/src/mint-lib/test_mint_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-14 15:19:50 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-14 15:19:50 +0200
commitc21da52b685cce8b806f5554b2722765735bd877 (patch)
treedb88f91ae2dcc550a0b7ef816b6ff4abb87f0ceb /src/mint-lib/test_mint_api.c
parent6173324cd938f658006a652d9b10acd8235f6d88 (diff)
downloadexchange-c21da52b685cce8b806f5554b2722765735bd877.tar.gz
exchange-c21da52b685cce8b806f5554b2722765735bd877.tar.bz2
exchange-c21da52b685cce8b806f5554b2722765735bd877.zip
swap dimensions as per protocol spec
Diffstat (limited to 'src/mint-lib/test_mint_api.c')
-rw-r--r--src/mint-lib/test_mint_api.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c
index 19b50373b..bbe81d5a4 100644
--- a/src/mint-lib/test_mint_api.c
+++ b/src/mint-lib/test_mint_api.c
@@ -684,6 +684,7 @@ withdraw_status_cb (void *cls,
http_status,
cmd->label);
GNUNET_break (0);
+ json_dumpf (json, stderr, 0);
fail (is);
return;
}
@@ -792,6 +793,7 @@ withdraw_sign_cb (void *cls,
"Unexpected response code %u to command %s\n",
http_status,
cmd->label);
+ json_dumpf (full_response, stderr, 0);
GNUNET_break (0);
fail (is);
return;
@@ -846,6 +848,7 @@ deposit_cb (void *cls,
"Unexpected response code %u to command %s\n",
http_status,
cmd->label);
+ json_dumpf (obj, stderr, 0);
fail (is);
return;
}
@@ -881,6 +884,7 @@ melt_cb (void *cls,
"Unexpected response code %u to command %s\n",
http_status,
cmd->label);
+ json_dumpf (full_response, stderr, 0);
fail (is);
return;
}
@@ -922,6 +926,7 @@ reveal_cb (void *cls,
"Unexpected response code %u to command %s\n",
http_status,
cmd->label);
+ json_dumpf (full_response, stderr, 0);
fail (is);
return;
}
@@ -987,6 +992,7 @@ link_cb (void *cls,
"Unexpected response code %u to command %s\n",
http_status,
cmd->label);
+ json_dumpf (full_response, stderr, 0);
fail (is);
return;
}