docu
authorChristian Grothoff <christian@grothoff.org>
Mon, 15 Feb 2010 21:36:27 +0000 (21:36 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 15 Feb 2010 21:36:27 +0000 (21:36 +0000)
src/transport/plugin_transport_tcp.c

index 752528b401a0f00c9f1ecb2d813d5843fd76bcff..ee7641d39e0028d2d8f56a9134925e7ab56d6214 100644 (file)
@@ -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,