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/datastore | |
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/datastore')
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index 1d7e8cd2b..863cd3902 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c | |||
@@ -250,7 +250,7 @@ struct TransmitCallbackContext | |||
250 | /** | 250 | /** |
251 | * Handle for the transmission request. | 251 | * Handle for the transmission request. |
252 | */ | 252 | */ |
253 | struct GNUNET_CONNECTION_TransmitHandle *th; | 253 | struct GNUNET_SERVER_TransmitHandle *th; |
254 | 254 | ||
255 | /** | 255 | /** |
256 | * Client that we are transmitting to. | 256 | * Client that we are transmitting to. |
@@ -1409,7 +1409,7 @@ cleaning_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1409 | GNUNET_CONTAINER_DLL_remove (tcc_head, tcc_tail, tcc); | 1409 | GNUNET_CONTAINER_DLL_remove (tcc_head, tcc_tail, tcc); |
1410 | if (tcc->th != NULL) | 1410 | if (tcc->th != NULL) |
1411 | { | 1411 | { |
1412 | GNUNET_CONNECTION_notify_transmit_ready_cancel (tcc->th); | 1412 | GNUNET_SERVER_notify_transmit_ready_cancel (tcc->th); |
1413 | GNUNET_SERVER_client_drop (tcc->client); | 1413 | GNUNET_SERVER_client_drop (tcc->client); |
1414 | } | 1414 | } |
1415 | GNUNET_free (tcc->msg); | 1415 | GNUNET_free (tcc->msg); |