Author: durner
Date: 2008-03-03 12:41:15 -0700 (Mon, 03 Mar 2008)
New Revision: 6526

Modified:
   GNUnet/src/transports/upnp/init.c
   GNUnet/src/transports/upnp/upnp.c
Log:
fix

Modified: GNUnet/src/transports/upnp/init.c
===================================================================
--- GNUnet/src/transports/upnp/init.c   2008-03-03 02:16:30 UTC (rev 6525)
+++ GNUnet/src/transports/upnp/init.c   2008-03-03 19:41:15 UTC (rev 6526)
@@ -48,7 +48,7 @@
 
 static unsigned int maps_size;
 
-static struct GNUNET_ThreadHandle *discovery;
+static struct GNUNET_ThreadHandle *discovery = NULL;
 
 static int discovery_socket;
 

Modified: GNUnet/src/transports/upnp/upnp.c
===================================================================
--- GNUnet/src/transports/upnp/upnp.c   2008-03-03 02:16:30 UTC (rev 6525)
+++ GNUnet/src/transports/upnp/upnp.c   2008-03-03 19:41:15 UTC (rev 6526)
@@ -579,7 +579,6 @@
       GNUNET_get_ip_from_hostname (ectx,
                                    HTTPMU_HOST_ADDRESS, AF_INET, &sa, &avail))
     {
-      CLOSE (dd.sock);
       return GNUNET_SYSERR;
     }
   server.sin_port = htons (HTTPMU_HOST_PORT);



_______________________________________________
GNUnet-SVN mailing list
GNUnet-SVN@gnu.org
http://lists.gnu.org/mailman/listinfo/gnunet-svn

Reply via email to