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. --- g10/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/server.c') diff --git a/g10/server.c b/g10/server.c index da9c28df4..8bf7a080a 100644 --- a/g10/server.c +++ b/g10/server.c @@ -709,7 +709,7 @@ gpg_server (ctrl_t ctrl) if (opt.verbose || opt.debug) { char *tmp = NULL; - const char *s1 = getenv ("GPG_AGENT_INFO"); + const char *s1 = getenv (GPG_AGENT_INFO_NAME); tmp = xtryasprintf ("Home: %s\n" "Config: %s\n" -- cgit v1.2.3