-fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 6 Feb 2012 21:36:49 +0000 (21:36 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 6 Feb 2012 21:36:49 +0000 (21:36 +0000)
src/transport/gnunet-service-transport_clients.c

index 3cc5aac34aa162da9fcf110355298c75901d6207..8bc11f3c91e6fc814997a24f4db9d6c16ec8686e 100644 (file)
@@ -926,11 +926,12 @@ clients_handle_address_iterate (void *cls, struct GNUNET_SERVER_Client *client,
       return;
     }
     setup_monitoring_client (client, &msg->peer);
-    GNUNET_SERVER_receive_done (client, GNUNET_OK);
-    return;
   }
-  GNUNET_SERVER_transmit_context_append_data (tc, NULL, 0,
-                                             GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_ITERATE_RESPONSE);
+  else
+  {
+    GNUNET_SERVER_transmit_context_append_data (tc, NULL, 0,
+                                               GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_ITERATE_RESPONSE);
+  }
   GNUNET_SERVER_transmit_context_run (tc, GNUNET_TIME_UNIT_FOREVER_REL);
 }