From: Christian Grothoff Date: Fri, 19 Mar 2010 09:43:45 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22401 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9618f4481593c6300c04e8253f2e03a2380a899d;p=oweals%2Fgnunet.git fix --- diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 48ad370fa..6786b9c34 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -617,8 +617,8 @@ tcp_plugin_send (void *cls, where we could restrict the iteration to entries that match the target peer... */ while ( (session != NULL) && - (session->client != NULL) && - ( (0 != memcmp (target, + ( (session->client == NULL) || + (0 != memcmp (target, &session->target, sizeof (struct GNUNET_PeerIdentity))) || ( (GNUNET_YES == force_address) &&