fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 19 Oct 2011 12:46:29 +0000 (12:46 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 19 Oct 2011 12:46:29 +0000 (12:46 +0000)
src/fs/gnunet-service-fs_pr.c

index fee159a20c981b10a453e4836616b947253085eb..052fd86eae90a037d9be3df67e38f300198d1509 100644 (file)
@@ -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;