From c2a8254be71089f707b3100972609db9cf4d02a0 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 20 Mar 2008 15:31:43 +0000 Subject: Fix a bug in the ambigious name detection. Minor cleanups. --- common/simple-pwquery.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'common/simple-pwquery.c') 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; -- cgit v1.2.3