From: Christian Grothoff Date: Mon, 17 Oct 2011 20:02:25 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~16449 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a2447daa59527a205a3b066cc96ebd95d864fc09;p=oweals%2Fgnunet.git fix --- diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 546c2aa36..7c724f532 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -985,7 +985,7 @@ tcp_plugin_send (void *cls, const struct GNUNET_PeerIdentity *target, } session = cand_session; } - if ((session == NULL) && (addr == NULL)) + if ((session == NULL) && (addrlen == 0)) { #if DEBUG_TCP GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp",