diff options
author | Werner Koch <wk@gnupg.org> | 2013-11-18 14:09:47 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-11-18 14:09:47 +0100 |
commit | cc9a0b69b698ba436eaf777e5020532845b56236 (patch) | |
tree | cb2274c3d97fffa7020cb1e5a56373935ee094b2 /sm/server.c | |
parent | Add strusage macro replacement feature. (diff) | |
download | gnupg2-cc9a0b69b698ba436eaf777e5020532845b56236.tar.xz gnupg2-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 'sm/server.c')
-rw-r--r-- | sm/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/server.c b/sm/server.c index 385eb538a..74caf6c5c 100644 --- a/sm/server.c +++ b/sm/server.c @@ -1294,7 +1294,7 @@ gpgsm_server (certlist_t default_recplist) if (opt.verbose || opt.debug) { char *tmp = NULL; - const char *s1 = getenv ("GPG_AGENT_INFO"); + const char *s1 = getenv (GPG_AGENT_INFO_NAME); if (asprintf (&tmp, "Home: %s\n" |