diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-23 19:05:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-23 19:05:11 +0000 |
commit | cb6408fefbf6b0a834ca5ae3be7458d9bf82e8cc (patch) | |
tree | 55ec9c77d4c3ce516d0de48ed9cddeee9dc6f4b9 /src/transport/plugin_transport_tcp.c | |
parent | 426b733481c21704bc2fb080f7c8e1d4150d11f4 (diff) | |
download | gnunet-cb6408fefbf6b0a834ca5ae3be7458d9bf82e8cc.tar.gz gnunet-cb6408fefbf6b0a834ca5ae3be7458d9bf82e8cc.zip |
-indentation, doxygen
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index e249b9f08..ba8b5895e 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -2972,15 +2972,14 @@ libgnunet_plugin_transport_tcp_done (void *cls) | |||
2972 | &session_disconnect_it, | 2972 | &session_disconnect_it, |
2973 | plugin); | 2973 | plugin); |
2974 | 2974 | ||
2975 | next = ppc_dll_head; | 2975 | for (cur = ppc_dll_head; NULL != cur; cur = next) |
2976 | for (cur = next; NULL != cur; cur = next) | ||
2977 | { | 2976 | { |
2978 | GNUNET_break (0); | ||
2979 | next = cur->next; | 2977 | next = cur->next; |
2980 | GNUNET_CONTAINER_DLL_remove (ppc_dll_head, | 2978 | GNUNET_CONTAINER_DLL_remove (ppc_dll_head, |
2981 | ppc_dll_tail, | 2979 | ppc_dll_tail, |
2982 | cur); | 2980 | cur); |
2983 | GNUNET_RESOLVER_request_cancel (cur->resolver_handle); | 2981 | GNUNET_RESOLVER_request_cancel (cur->resolver_handle); |
2982 | cur->asc (cur->asc_cls, NULL, GNUNET_OK); | ||
2984 | GNUNET_free (cur); | 2983 | GNUNET_free (cur); |
2985 | } | 2984 | } |
2986 | 2985 | ||