X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=add.c;fp=add.c;h=2d38624d3f43dea1ac8e186b388d05ffe016e255;hb=393d83b8760584006eaefd6fc370abead228e02a;hp=a784fac358fb4d9565c84dfb274734b2c61d89df;hpb=8b4052ad6015aa9f54c9c824f28655f230d09d8d;p=onak.git 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);