fix compile warning
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 21 Mar 2014 12:59:15 +0000 (12:59 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 21 Mar 2014 12:59:15 +0000 (12:59 +0000)
src/transport/plugin_transport_tcp.c

index 976a6bc6bf200bc2e628bc99bf5e5710c4595913..1489fee77331e865d48b586c09bff67e8eed4996 100644 (file)
@@ -2102,6 +2102,11 @@ handle_tcp_welcome (void *cls, struct GNUNET_SERVER_Client *client,
             PLUGIN_NAME, &t6, sizeof (t6),
             GNUNET_HELLO_ADDRESS_INFO_INBOUND);
       }
+      else
+      {
+        GNUNET_break (0);
+        return;
+      }
       session = create_session (plugin, address, client, GNUNET_NO);
       GNUNET_HELLO_address_free (address);
       ats = plugin->env->get_address_type (plugin->env->cls, vaddr, alen);