From 393d83b8760584006eaefd6fc370abead228e02a Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Fri, 13 Aug 2004 23:46:56 +0000 Subject: [PATCH 1/1] Log total received key count. Modify add so that we log the total number of keys we get, as well as the number of new keys. --- add.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/add.c b/add.c index a784fac..2d38624 100644 --- a/add.c +++ b/add.c @@ -63,8 +63,10 @@ int main(int argc, char *argv[]) &ctx, &packets); if (packets != NULL) { - printf("Storing %d keys.\n", - parse_keys(packets, &keys)); + count = parse_keys(packets, &keys); + logthing(LOGTHING_NOTICE, "Received %d keys.", + count); + printf("Storing %d keys.\n", count); end_html(); fclose(stdout); fclose(stderr); -- 2.39.5