From 939198470940ea81b9cbc9812316cc5d2272af27 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 15 Feb 2010 21:36:27 +0000 Subject: [PATCH] docu --- src/transport/plugin_transport_tcp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 752528b40..ee7641d39 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -597,6 +597,9 @@ tcp_plugin_send (void *cls, int af; session = plugin->sessions; + /* FIXME: we could do this a cheaper with a hash table + where we could restrict the iteration to entries that match + the target peer... */ while ( (session != NULL) && ( (0 != memcmp (target, &session->target, -- 2.25.1