diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-25 21:44:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-25 21:44:18 +0000 |
commit | c3f7f2380e5509d26537d090a227e46ddd1bd165 (patch) | |
tree | 8d882866b45160571f3970b75df2bd6fe386d52f /src/transport | |
parent | 31f3749379e9e12ea0468eabaab650ca3f7a3e1f (diff) | |
download | gnunet-c3f7f2380e5509d26537d090a227e46ddd1bd165.tar.gz gnunet-c3f7f2380e5509d26537d090a227e46ddd1bd165.zip |
-stupid check, remove
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 3 |
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, | |||
2338 | address = GNUNET_HELLO_address_allocate ( &msg->sender, PLUGIN_NAME, | 2338 | address = GNUNET_HELLO_address_allocate ( &msg->sender, PLUGIN_NAME, |
2339 | arg, args, | 2339 | arg, args, |
2340 | GNUNET_HELLO_ADDRESS_INFO_INBOUND); | 2340 | GNUNET_HELLO_ADDRESS_INFO_INBOUND); |
2341 | if ( (NULL == (s = udp_plugin_lookup_session (plugin, address))) && | 2341 | if (NULL == (s = udp_plugin_lookup_session (plugin, address))) |
2342 | (GNUNET_YES != s->in_destroy) ) | ||
2343 | { | 2342 | { |
2344 | s = udp_plugin_create_session (plugin, address); | 2343 | s = udp_plugin_create_session (plugin, address); |
2345 | plugin->env->session_start (NULL, address, s, NULL, 0); | 2344 | plugin->env->session_start (NULL, address, s, NULL, 0); |