From de7b6a04245f9e1c24900b086e1543e521bf1339 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Oct 2014 12:22:09 +0000 Subject: -fix test logic --- src/transport/test_http_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/transport/test_http_common.c') diff --git a/src/transport/test_http_common.c b/src/transport/test_http_common.c index 80b7cbc5b..d1d0503a8 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); -- cgit v1.2.3