فهرست منبع

2008-08-21 Marcus Brinkmann <marcus@g10code.com>

	* src/agent.c (agent_configure): Fix cut and paste error.
Marcus Brinkmann 17 سال پیش
والد
کامیت
43a996f09f
2فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 4 0
      ChangeLog
  2. 3 2
      src/agent.c

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2008-08-21  Marcus Brinkmann  <marcus@g10code.com>
+
+	* src/agent.c (agent_configure): Fix cut and paste error.
+
 2008-08-11  Marcus Brinkmann  <marcus@g10code.com>
 
 	* src/agent.c (spawn_process_detachted) [! HAVE_W32_SYSTEM]: Remove.

+ 3 - 2
src/agent.c

@@ -454,7 +454,7 @@ agent_configure (assuan_context_t ctx)
 
   dft_xauthority = getenv ("XAUTHORITY");
   if (dft_xauthority)
-    err = agent_simple_cmd (ctx, "OPTION xauthority=%s", dft_display);
+    err = agent_simple_cmd (ctx, "OPTION xauthority=%s", dft_xauthority);
   if (gpg_err_code (err) == GPG_ERR_UNKNOWN_OPTION)
     err = 0;
   else if (err)
@@ -462,7 +462,8 @@ agent_configure (assuan_context_t ctx)
 
   dft_pinentry_user_data = getenv ("PINENTRY_USER_DATA");
   if (dft_pinentry_user_data)
-    err = agent_simple_cmd (ctx, "OPTION pinentry_user_data=%s", dft_display);
+    err = agent_simple_cmd (ctx, "OPTION pinentry_user_data=%s",
+	                    dft_pinentry_user_data);
   if (gpg_err_code (err) == GPG_ERR_UNKNOWN_OPTION)
     err = 0;
   else if (err)