From 13dc02087efbf8a33a6669e12d294e8fd6aa702f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 20 Oct 2011 17:29:04 +0000 Subject: [PATCH] fix --- src/transport/plugin_transport_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1