From cc9a0b69b698ba436eaf777e5020532845b56236 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 18 Nov 2013 14:09:47 +0100 Subject: 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. --- tools/symcryptrun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/symcryptrun.c') diff --git a/tools/symcryptrun.c b/tools/symcryptrun.c index 4074c6ec9..eff14c946 100644 --- a/tools/symcryptrun.c +++ b/tools/symcryptrun.c @@ -200,7 +200,7 @@ my_strusage (int level) switch (level) { - case 11: p = "symcryptrun (GnuPG)"; + case 11: p = "symcryptrun (@GNUPG@)"; break; case 13: p = VERSION; break; case 17: p = PRINTABLE_OS_NAME; break; @@ -1010,7 +1010,7 @@ main (int argc, char **argv) /* Tell simple-pwquery about the the standard socket name. */ { - char *tmp = make_filename (opt.homedir, "S.gpg-agent", NULL); + char *tmp = make_filename (opt.homedir, GPG_AGENT_SOCK_NAME, NULL); simple_pw_set_socket (tmp); xfree (tmp); } -- cgit v1.2.3