return on error
authorChristian Grothoff <christian@grothoff.org>
Mon, 31 Oct 2011 14:47:25 +0000 (14:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 31 Oct 2011 14:47:25 +0000 (14:47 +0000)
src/transport/gnunet-service-transport_neighbours.c

index 6011ad2492336470199f99782f669849013b177e..7c2536eb1b52859844b32cf855d9df98ec123c35 100644 (file)
@@ -2029,6 +2029,7 @@ GST_neighbours_handle_ack (const struct GNUNET_MessageHeader *message,
   {
     send_disconnect(peer, plugin_name, sender_address, sender_address_len, session);
     GNUNET_break (0);
+    return;
   }
 
   if (is_connected(n))