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 /g13/server.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 'g13/server.c')
-rw-r--r-- | g13/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g13/server.c b/g13/server.c index 31c961dfb..573f6706a 100644 --- a/g13/server.c +++ b/g13/server.c @@ -612,7 +612,7 @@ g13_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" |