]> the.earth.li Git - onak.git/commitdiff
Make key addition success text more like SKS/PKS.
authorJonathan McDowell <noodles@meepok>
Thu, 24 Apr 2008 20:26:52 +0000 (21:26 +0100)
committerJonathan McDowell <noodles@meepok>
Thu, 24 Apr 2008 20:26:52 +0000 (21:26 +0100)
  Apparently PGP Desktop doesn't like our "Storing %d keys." success
  message when storing keys received via HKP. Change our output to match
  what the pgp.com and SKS keyservers return. Patch from Timothy Legge.

add.c

diff --git a/add.c b/add.c
index 3a9161f6b86c5231df65727f24031af4c618aad0..a33b0c86587b276b770e48e413b537b8ba233ca1 100644 (file)
--- a/add.c
+++ b/add.c
@@ -66,7 +66,8 @@ int main(int argc, char *argv[])
                        count = parse_keys(packets, &keys);
                        logthing(LOGTHING_NOTICE, "Received %d keys.",
                                count);
-                       printf("Storing %d keys.\n", count);
+                       printf("Key block added to key server database.\n");
+                       printf("  New public keys added: %d\n", count);
                        end_html();
                        if (stdout != NULL && fileno(stdout) != -1) {
                                fclose(stdout);