diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-20 17:29:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-20 17:29:04 +0000 |
commit | 13dc02087efbf8a33a6669e12d294e8fd6aa702f (patch) | |
tree | 2dbd5d4fd8c6536fd48ed9b806bedc01b6fc4d27 /src/transport/plugin_transport_udp.c | |
parent | 0bb316c298fad2cc5268d551e787ed75b6dd0729 (diff) | |
download | gnunet-13dc02087efbf8a33a6669e12d294e8fd6aa702f.tar.gz gnunet-13dc02087efbf8a33a6669e12d294e8fd6aa702f.zip |
fix
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index ddb6187e5..e0ef50acf 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -681,7 +681,7 @@ udp_plugin_send (void *cls, const struct GNUNET_PeerIdentity *target, | |||
681 | } | 681 | } |
682 | } | 682 | } |
683 | //session_invalid: | 683 | //session_invalid: |
684 | if ((addr == NULL) && (addrlen == 0)) | 684 | if ((addr == NULL) || (addrlen == 0)) |
685 | return GNUNET_SYSERR; | 685 | return GNUNET_SYSERR; |
686 | peer_session = create_session (plugin, target, addr, addrlen, cont, cont_cls); | 686 | peer_session = create_session (plugin, target, addr, addrlen, cont, cont_cls); |
687 | if (peer_session == NULL) | 687 | if (peer_session == NULL) |