aboutsummaryrefslogtreecommitdiffstats
path: root/common/simple-pwquery.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-03-20 15:31:43 +0000
committerWerner Koch <[email protected]>2008-03-20 15:31:43 +0000
commitc2a8254be71089f707b3100972609db9cf4d02a0 (patch)
tree109ea1f31fdfe85524fca8107edbab7a5888f425 /common/simple-pwquery.c
parentFix for v3 keys. (diff)
downloadgnupg-c2a8254be71089f707b3100972609db9cf4d02a0.tar.gz
gnupg-c2a8254be71089f707b3100972609db9cf4d02a0.zip
Fix a bug in the ambigious name detection.
Minor cleanups.
Diffstat (limited to '')
-rw-r--r--common/simple-pwquery.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/simple-pwquery.c b/common/simple-pwquery.c
index fdaa34f07..3a1f0365f 100644
--- a/common/simple-pwquery.c
+++ b/common/simple-pwquery.c
@@ -293,7 +293,7 @@ agent_send_all_options (int fd)
{
/* We ignore errors here because older gpg-agents don't support
this option. */
- send_one_option (ctx, errsource, "xauthority", dft_xauthority);
+ agent_send_option (fd, "xauthority", dft_xauthority);
}
/* Send the PINENTRY_USER_DATA variable. */
@@ -302,8 +302,7 @@ agent_send_all_options (int fd)
{
/* We ignore errors here because older gpg-agents don't support
this option. */
- send_one_option (ctx, errsource, "pinentry-user-data",
- opt_pinentry_user_data);
+ agent_send_option (fd, "pinentry-user-data", dft_pinentry_user_data);
}
return 0;