aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-10-05 12:22:09 +0000
committerChristian Grothoff <christian@grothoff.org>2014-10-05 12:22:09 +0000
commitde7b6a04245f9e1c24900b086e1543e521bf1339 (patch)
treee583ddc5860344c10740608c19e51d344c02b8b9
parent0a0f5aaf8405113ab3d16fa2fa4abb74ec48225c (diff)
-fix test logic
-rw-r--r--src/transport/test_http_common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/test_http_common.c b/src/transport/test_http_common.c
index 80b7cbc5b9..d1d0503a83 100644
--- a/src/transport/test_http_common.c
+++ b/src/transport/test_http_common.c
@@ -228,17 +228,18 @@ main (int argc, char *argv[])
if (NULL != spa)
{
clean (spa);
+ spa = NULL;
GNUNET_break (0);
}
- http_split_address ("http://");
+ spa = http_split_address ("http://");
if (NULL != spa)
{
clean (spa);
GNUNET_break (0);
}
- http_split_address ("://");
+ spa = http_split_address ("://");
if (NULL != spa)
{
clean (spa);