diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-02-15 21:36:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-02-15 21:36:27 +0000 |
commit | 939198470940ea81b9cbc9812316cc5d2272af27 (patch) | |
tree | bdcef250ed3a1ab771f3b74ecf55a83d29b11262 /src | |
parent | 7ed5f2b8ad2e7d2393c4b54bc4088d7f0c2020ef (diff) | |
download | gnunet-939198470940ea81b9cbc9812316cc5d2272af27.tar.gz gnunet-939198470940ea81b9cbc9812316cc5d2272af27.zip |
docu
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, | |||
597 | int af; | 597 | int af; |
598 | 598 | ||
599 | session = plugin->sessions; | 599 | session = plugin->sessions; |
600 | /* FIXME: we could do this a cheaper with a hash table | ||
601 | where we could restrict the iteration to entries that match | ||
602 | the target peer... */ | ||
600 | while ( (session != NULL) && | 603 | while ( (session != NULL) && |
601 | ( (0 != memcmp (target, | 604 | ( (0 != memcmp (target, |
602 | &session->target, | 605 | &session->target, |