aboutsummaryrefslogtreecommitdiff
path: root/src/transport
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 /src/transport
parent0a0f5aaf8405113ab3d16fa2fa4abb74ec48225c (diff)
downloadgnunet-de7b6a04245f9e1c24900b086e1543e521bf1339.tar.gz
gnunet-de7b6a04245f9e1c24900b086e1543e521bf1339.zip
-fix test logic
Diffstat (limited to 'src/transport')
-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 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[])
228 if (NULL != spa) 228 if (NULL != spa)
229 { 229 {
230 clean (spa); 230 clean (spa);
231 spa = NULL;
231 GNUNET_break (0); 232 GNUNET_break (0);
232 } 233 }
233 234
234 http_split_address ("http://"); 235 spa = http_split_address ("http://");
235 if (NULL != spa) 236 if (NULL != spa)
236 { 237 {
237 clean (spa); 238 clean (spa);
238 GNUNET_break (0); 239 GNUNET_break (0);
239 } 240 }
240 241
241 http_split_address ("://"); 242 spa = http_split_address ("://");
242 if (NULL != spa) 243 if (NULL != spa)
243 { 244 {
244 clean (spa); 245 clean (spa);