From e654ccc9fb0cca819db22ecde4a077a574628f0f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 16 Jun 2011 13:53:59 +0000 Subject: [PATCH] stat --- src/fs/gnunet-service-fs_pr.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index 73941ae7b..c70479b22 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c @@ -925,7 +925,7 @@ put_migration_continuation (void *cls, if (GNUNET_OK == success) return; GNUNET_STATISTICS_update (GSF_stats, - gettext_noop ("# datastore 'put' failures"), + gettext_noop ("# Datastore `PUT' failures"), 1, GNUNET_NO); } @@ -1427,7 +1427,14 @@ GSF_local_lookup_ (struct GSF_PendingRequest *pr, &process_local_reply, pr); if (NULL != pr->qe) - return; + { + GNUNET_STATISTICS_update (GSF_stats, + gettext_noop ("# Datastore lookups concluded (error queueing)"), + 1, + GNUNET_NO); + + return; + } GNUNET_SCHEDULER_cancel (pr->warn_task); pr->warn_task = GNUNET_SCHEDULER_NO_TASK; pr->llc_cont = NULL; -- 2.25.1