diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-19 11:55:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-19 11:55:40 +0000 |
commit | 50c4e060fc721dfe2af9115639a4d47e88e04f00 (patch) | |
tree | 5ba39a3f1335c65bd750261cc78db9f39bb076fc /src/transport/plugin_transport_tcp.c | |
parent | 93a5401e858e978aa2d7fc090fc1f6612c15dc3f (diff) | |
download | gnunet-50c4e060fc721dfe2af9115639a4d47e88e04f00.tar.gz gnunet-50c4e060fc721dfe2af9115639a4d47e88e04f00.zip |
-simplifying destruction of connections, cleaning up server API -- all for #2274
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index ee94970e5..ea8b6ee08 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -267,7 +267,7 @@ struct Session | |||
267 | /** | 267 | /** |
268 | * Handle for pending transmission request. | 268 | * Handle for pending transmission request. |
269 | */ | 269 | */ |
270 | struct GNUNET_CONNECTION_TransmitHandle *transmit_handle; | 270 | struct GNUNET_SERVER_TransmitHandle *transmit_handle; |
271 | 271 | ||
272 | /** | 272 | /** |
273 | * To whom are we talking to (set to our identity | 273 | * To whom are we talking to (set to our identity |
@@ -919,7 +919,7 @@ disconnect_session (struct Session *session) | |||
919 | /* clean up state */ | 919 | /* clean up state */ |
920 | if (session->transmit_handle != NULL) | 920 | if (session->transmit_handle != NULL) |
921 | { | 921 | { |
922 | GNUNET_CONNECTION_notify_transmit_ready_cancel (session->transmit_handle); | 922 | GNUNET_SERVER_notify_transmit_ready_cancel (session->transmit_handle); |
923 | session->transmit_handle = NULL; | 923 | session->transmit_handle = NULL; |
924 | } | 924 | } |
925 | session->plugin->env->session_end (session->plugin->env->cls, | 925 | session->plugin->env->session_end (session->plugin->env->cls, |