missing return
authorNathan S. Evans <evans@in.tum.de>
Tue, 21 Sep 2010 10:17:12 +0000 (10:17 +0000)
committerNathan S. Evans <evans@in.tum.de>
Tue, 21 Sep 2010 10:17:12 +0000 (10:17 +0000)
src/dht/gnunet-service-dht.c

index c606f16bafb5bf20cc02424591d0ad91a157ca79..2ee40f2da9c188f6d7cebfe3e2cf18a34ab88a3e 100644 (file)
@@ -2282,6 +2282,7 @@ handle_dht_find_peer (void *cls,
           increment_stats(STAT_HELLOS_PROVIDED);
           GNUNET_TRANSPORT_offer_hello(transport_handle, other_hello);
           GNUNET_CORE_peer_request_connect(sched, cfg, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5), &peer_id, NULL, NULL);
+          return;
         }
       else /* We don't want this peer! */ /* Alternatively, just continue normally */
         return;