gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17150 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r17150 - gnunet/src/util
Date: Mon, 3 Oct 2011 00:38:36 +0200

Author: grothoff
Date: 2011-10-03 00:38:36 +0200 (Mon, 03 Oct 2011)
New Revision: 17150

Modified:
   gnunet/src/util/connection.c
Log:
fix 1814

Modified: gnunet/src/util/connection.c
===================================================================
--- gnunet/src/util/connection.c        2011-10-02 22:16:00 UTC (rev 17149)
+++ gnunet/src/util/connection.c        2011-10-02 22:38:36 UTC (rev 17150)
@@ -810,7 +810,8 @@
   if (addr == NULL)
   {
     h->dns_active = NULL;
-    if (NULL == h->ap_head)
+    if ( (NULL == h->ap_head) &&
+        (NULL == h->sock) )
       connect_fail_continuation (h);
     return;
   }
@@ -901,7 +902,7 @@
                                        uint16_t port)
 {
   struct GNUNET_CONNECTION_Handle *ret;
-
+ 
   GNUNET_assert (0 < strlen (hostname));        /* sanity check */
   ret = GNUNET_malloc (sizeof (struct GNUNET_CONNECTION_Handle));
   ret->cfg = cfg;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]