aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-12 15:21:56 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-12 15:21:56 +0000
commit0bba5c2a473984a776f37ff064e926e4f0742f24 (patch)
treea87487b1a837615c811a46b87d54795b5e4542fc /src/datastore
parentdc1a5fbbcad2e3437159aa952fd480b331af51eb (diff)
downloadgnunet-0bba5c2a473984a776f37ff064e926e4f0742f24.tar.gz
gnunet-0bba5c2a473984a776f37ff064e926e4f0742f24.zip
fix
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/datastore_api.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index 65a519e59..ef3dccbf6 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -289,16 +289,10 @@ timeout_queue_entry (void *cls,
289 const struct GNUNET_SCHEDULER_TaskContext *tc) 289 const struct GNUNET_SCHEDULER_TaskContext *tc)
290{ 290{
291 struct QueueEntry *qe = cls; 291 struct QueueEntry *qe = cls;
292 struct GNUNET_DATASTORE_Handle *h = qe->h;
293 292
294 qe->task = GNUNET_SCHEDULER_NO_TASK; 293 qe->task = GNUNET_SCHEDULER_NO_TASK;
295 GNUNET_assert (qe->was_transmitted == GNUNET_NO); 294 GNUNET_assert (qe->was_transmitted == GNUNET_NO);
296 GNUNET_CONTAINER_DLL_remove (h->queue_head, 295 qe->response_proc (qe, NULL);
297 h->queue_tail,
298 qe);
299 if (qe->response_proc != NULL)
300 qe->response_proc (qe, NULL);
301 GNUNET_free (qe);
302} 296}
303 297
304 298