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/util/server_nc.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/util/server_nc.c')
-rw-r--r-- | src/util/server_nc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/server_nc.c b/src/util/server_nc.c index 08ffd4b0c..9717a4516 100644 --- a/src/util/server_nc.c +++ b/src/util/server_nc.c | |||
@@ -92,7 +92,7 @@ struct ClientList | |||
92 | /** | 92 | /** |
93 | * Handle for pending transmission request to the client (or NULL). | 93 | * Handle for pending transmission request to the client (or NULL). |
94 | */ | 94 | */ |
95 | struct GNUNET_CONNECTION_TransmitHandle *th; | 95 | struct GNUNET_SERVER_TransmitHandle *th; |
96 | 96 | ||
97 | /** | 97 | /** |
98 | * Head of linked list of requests queued for transmission. | 98 | * Head of linked list of requests queued for transmission. |
@@ -187,7 +187,7 @@ handle_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client) | |||
187 | } | 187 | } |
188 | if (pos->th != NULL) | 188 | if (pos->th != NULL) |
189 | { | 189 | { |
190 | GNUNET_CONNECTION_notify_transmit_ready_cancel (pos->th); | 190 | GNUNET_SERVER_notify_transmit_ready_cancel (pos->th); |
191 | pos->th = NULL; | 191 | pos->th = NULL; |
192 | } | 192 | } |
193 | GNUNET_SERVER_client_drop (client); | 193 | GNUNET_SERVER_client_drop (client); |