projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c5b805
)
fix compile warning
author
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 21 Mar 2014 12:59:15 +0000
(12:59 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 21 Mar 2014 12:59:15 +0000
(12:59 +0000)
src/transport/plugin_transport_tcp.c
patch
|
blob
|
history
diff --git
a/src/transport/plugin_transport_tcp.c
b/src/transport/plugin_transport_tcp.c
index 976a6bc6bf200bc2e628bc99bf5e5710c4595913..1489fee77331e865d48b586c09bff67e8eed4996 100644
(file)
--- a/
src/transport/plugin_transport_tcp.c
+++ b/
src/transport/plugin_transport_tcp.c
@@
-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);