if CONNECT failed, move to disconnected
authorChristian Grothoff <christian@grothoff.org>
Sun, 23 Oct 2011 15:07:09 +0000 (15:07 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 23 Oct 2011 15:07:09 +0000 (15:07 +0000)
src/transport/gnunet-service-transport_neighbours.c

index 2530744e00b14ddb174d78c4c29f14434095bfd0..bd86fcdbd10f51ed23b43f1934346edea64f71a7 100644 (file)
@@ -649,6 +649,7 @@ send_connect_continuation (void *cls,
                                  n->addr,
                                  n->addrlen,
                                  NULL);
+    disconnect_neighbour (n);
     return;
   }
 }