-more logging, avoid duplicate re-scheduling
[oweals/gnunet.git] / src / transport / test_http_common.c
index 80b7cbc5b9ecb6b2644ebc7ab9ab87e18e8659dc..a21ddee1d1c7e089aed355927b33aefac298fea8 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2009, 2010 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2009, 2010 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -14,8 +14,8 @@
 
      You should have received a copy of the GNU General Public License
      along with GNUnet; see the file COPYING.  If not, write to the
-     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-     Boston, MA 02111-1307, USA.
+     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+     Boston, MA 02110-1301, USA.
 */
 /**
  * @file 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);