From: Jonathan McDowell <noodles@meepok>
Date: Thu, 24 Apr 2008 20:26:52 +0000 (+0100)
Subject: Make key addition success text more like SKS/PKS.
X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/20902952625408183946472e70d0cb2a2d17934d

Make key addition success text more like SKS/PKS.

  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.
---

diff --git a/add.c b/add.c
index 3a9161f..a33b0c8 100644
--- 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);