From 9618f4481593c6300c04e8253f2e03a2380a899d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 19 Mar 2010 09:43:45 +0000 Subject: fix --- src/transport/plugin_transport_tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) && -- cgit v1.2.3