Make use of the *_NAME etc macros.
[gnupg.git] / g10 / server.c
index da9c28d..8bf7a08 100644 (file)
@@ -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"