From: Christian Grothoff Date: Thu, 20 Oct 2011 17:29:04 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~16366 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=13dc02087efbf8a33a6669e12d294e8fd6aa702f;p=oweals%2Fgnunet.git fix --- 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, } } //session_invalid: - if ((addr == NULL) && (addrlen == 0)) + if ((addr == NULL) || (addrlen == 0)) return GNUNET_SYSERR; peer_session = create_session (plugin, target, addr, addrlen, cont, cont_cls); if (peer_session == NULL)