summaryrefslogtreecommitdiff
path: root/src/util/test_url.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-10-17 19:20:15 +0530
committerFlorian Dold <florian.dold@gmail.com>2019-10-17 19:20:15 +0530
commitd6ca052d27804833fa875f8b46855eaab648bb78 (patch)
tree087bc59d5b7aa6b4497105a26b6de124b71dd38c /src/util/test_url.c
parent7e149e9a6b6c02b3208c4438bb3d3e0467d8ab6a (diff)
downloadexchange-d6ca052d27804833fa875f8b46855eaab648bb78.tar.gz
exchange-d6ca052d27804833fa875f8b46855eaab648bb78.tar.bz2
exchange-d6ca052d27804833fa875f8b46855eaab648bb78.zip
implement buffer API and use it for URL construction
Diffstat (limited to 'src/util/test_url.c')
-rw-r--r--src/util/test_url.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/test_url.c b/src/util/test_url.c
index f6aab0dc..da43f81a 100644
--- a/src/util/test_url.c
+++ b/src/util/test_url.c
@@ -32,7 +32,11 @@
static void
cf (char *input, char *expected)
{
- GNUNET_assert (0 == strcmp (input, expected));
+ if (0 != strcmp (input, expected))
+ {
+ printf ("got '%s' but expected '%s'\n", input, expected);
+ GNUNET_assert (0);
+ }
GNUNET_free (input);
}