diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-12 23:53:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-12 23:53:58 +0000 |
commit | 53f56b30d3b72e2d220fab3d632ae89c9b30bfc1 (patch) | |
tree | 03ec24eeeb957fcd23ed78e0a8818bf956ca18cc | |
parent | 844f6fd00c9df54e1b9655dabcb8b990991d2e43 (diff) | |
download | gnunet-53f56b30d3b72e2d220fab3d632ae89c9b30bfc1.tar.gz gnunet-53f56b30d3b72e2d220fab3d632ae89c9b30bfc1.zip |
-minor cleanup
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index e9e008171..9c3fedc75 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -1132,10 +1132,10 @@ int session_lookup_it (void *cls, | |||
1132 | return GNUNET_NO; | 1132 | return GNUNET_NO; |
1133 | } | 1133 | } |
1134 | 1134 | ||
1135 | |||
1135 | /** | 1136 | /** |
1136 | * Task cleaning up a NAT connection attempt after timeout | 1137 | * Task cleaning up a NAT connection attempt after timeout |
1137 | */ | 1138 | */ |
1138 | |||
1139 | static void | 1139 | static void |
1140 | nat_connect_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 1140 | nat_connect_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
1141 | { | 1141 | { |
@@ -1352,9 +1352,10 @@ tcp_plugin_get_session (void *cls, | |||
1352 | } | 1352 | } |
1353 | 1353 | ||
1354 | 1354 | ||
1355 | int session_disconnect_it (void *cls, | 1355 | static int |
1356 | const GNUNET_HashCode * key, | 1356 | session_disconnect_it (void *cls, |
1357 | void *value) | 1357 | const GNUNET_HashCode * key, |
1358 | void *value) | ||
1358 | { | 1359 | { |
1359 | struct Session *session = value; | 1360 | struct Session *session = value; |
1360 | 1361 | ||