summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-25 21:44:18 +0000
committerChristian Grothoff <christian@grothoff.org>2015-01-25 21:44:18 +0000
commitc3f7f2380e5509d26537d090a227e46ddd1bd165 (patch)
tree8d882866b45160571f3970b75df2bd6fe386d52f /src
parent31f3749379e9e12ea0468eabaab650ca3f7a3e1f (diff)
-stupid check, remove
Diffstat (limited to 'src')
-rw-r--r--src/transport/plugin_transport_udp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index 5b882af26..3a482c486 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -2338,8 +2338,7 @@ process_udp_message (struct Plugin *plugin,
address = GNUNET_HELLO_address_allocate ( &msg->sender, PLUGIN_NAME,
arg, args,
GNUNET_HELLO_ADDRESS_INFO_INBOUND);
- if ( (NULL == (s = udp_plugin_lookup_session (plugin, address))) &&
- (GNUNET_YES != s->in_destroy) )
+ if (NULL == (s = udp_plugin_lookup_session (plugin, address)))
{
s = udp_plugin_create_session (plugin, address);
plugin->env->session_start (NULL, address, s, NULL, 0);