From 035cdff6929e62ba01cfe741eede1f9d7db42e57 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 19 Oct 2011 12:46:29 +0000 Subject: [PATCH] fix --- src/fs/gnunet-service-fs_pr.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index fee159a20..052fd86ea 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c @@ -1374,15 +1374,12 @@ GSF_local_lookup_ (struct GSF_PendingRequest *pr, /* max queue size */ , GNUNET_TIME_UNIT_FOREVER_REL, &process_local_reply, pr); - if (NULL == pr->qe) - { - GNUNET_STATISTICS_update (GSF_stats, - gettext_noop - ("# Datastore lookups concluded (error queueing)"), - 1, GNUNET_NO); - + if (NULL != pr->qe) return; - } + GNUNET_STATISTICS_update (GSF_stats, + gettext_noop + ("# Datastore lookups concluded (error queueing)"), + 1, GNUNET_NO); GNUNET_SCHEDULER_cancel (pr->warn_task); pr->warn_task = GNUNET_SCHEDULER_NO_TASK; pr->llc_cont = NULL; -- 2.25.1