fixing crash: cancel dead task 1004493731513019834!
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 28 Mar 2014 08:30:30 +0000 (08:30 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 28 Mar 2014 08:30:30 +0000 (08:30 +0000)
src/transport/gnunet-service-transport_neighbours.c

index 7d2ceb524032a05725ddb8dd0aecd41032ebf1fe..f1305ba0d183403e3c4c6f746658327d54d3138d 100644 (file)
@@ -1136,7 +1136,7 @@ disconnect_neighbour (struct NeighbourMapEntry *n)
     /* Disconnecting while waiting for an ATS address to reconnect,
      * cannot send DISCONNECT */
     free_neighbour (n, GNUNET_NO);
-    break;
+    return;
   case GNUNET_TRANSPORT_PS_DISCONNECT:
     /* already disconnected, ignore */
     break;