diff options
author | Werner Koch <[email protected]> | 2013-11-18 13:09:47 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2013-11-18 13:09:47 +0000 |
commit | cc9a0b69b698ba436eaf777e5020532845b56236 (patch) | |
tree | cb2274c3d97fffa7020cb1e5a56373935ee094b2 /keyserver/gpgkeys_curl.c | |
parent | Add strusage macro replacement feature. (diff) | |
download | gnupg-cc9a0b69b698ba436eaf777e5020532845b56236.tar.gz gnupg-cc9a0b69b698ba436eaf777e5020532845b56236.zip |
Make use of the *_NAME etc macros.
Replace hardwired strings at many places with new macros from config.h
and use the new strusage macro replacement feature.
* common/asshelp.c (lock_spawning) [W32]: Change the names of the spawn
sentinels.
* agent/command.c (cmd_import_key): Use asprintf to create the prompt.
Diffstat (limited to 'keyserver/gpgkeys_curl.c')
-rw-r--r-- | keyserver/gpgkeys_curl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyserver/gpgkeys_curl.c b/keyserver/gpgkeys_curl.c index 7a4ec52c6..fc4c6f38f 100644 --- a/keyserver/gpgkeys_curl.c +++ b/keyserver/gpgkeys_curl.c @@ -99,7 +99,7 @@ get_key(char *getkey) return curl_err_to_gpg_err(res); } -static void +static void show_help (FILE *fp) { fprintf (fp,"-h, --help\thelp\n"); @@ -124,7 +124,7 @@ main(int argc,char *argv[]) /* Kludge to implement standard GNU options. */ if (argc > 1 && !strcmp (argv[1], "--version")) { - printf ("gpgkeys_curl (GnuPG) %s\n", VERSION); + printf ("gpgkeys_curl (%s) %s\n", GNUPG_NAME, VERSION); printf ("Uses: %s\n", curl_version()); return 0; } |