diff options
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 4 |
1 files 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, | |||
617 | where we could restrict the iteration to entries that match | 617 | where we could restrict the iteration to entries that match |
618 | the target peer... */ | 618 | the target peer... */ |
619 | while ( (session != NULL) && | 619 | while ( (session != NULL) && |
620 | (session->client != NULL) && | 620 | ( (session->client == NULL) || |
621 | ( (0 != memcmp (target, | 621 | (0 != memcmp (target, |
622 | &session->target, | 622 | &session->target, |
623 | sizeof (struct GNUNET_PeerIdentity))) || | 623 | sizeof (struct GNUNET_PeerIdentity))) || |
624 | ( (GNUNET_YES == force_address) && | 624 | ( (GNUNET_YES == force_address) && |