aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-11-18 20:43:19 +0000
committerChristian Grothoff <christian@grothoff.org>2013-11-18 20:43:19 +0000
commite1f3b5eb1559882ec646b297c9fb7bd9c7b17307 (patch)
tree0d3c71bd03f68318f3a495eeb6fee113a088abd9 /src/datastore
parent0cbe62ab4feb0045c5ec97c5d8c9ca2e552dfcd4 (diff)
-fix
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/datastore_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index 00a443fe48..13e0a11625 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -388,8 +388,9 @@ static void
timeout_queue_entry (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
struct GNUNET_DATASTORE_QueueEntry *qe = cls;
+ struct GNUNET_DATASTORE_Handle *h = qe->h;
- GNUNET_STATISTICS_update (qe->h->stats,
+ GNUNET_STATISTICS_update (h->stats,
gettext_noop ("# queue entry timeouts"), 1,
GNUNET_NO);
qe->task = GNUNET_SCHEDULER_NO_TASK;