aboutsummaryrefslogtreecommitdiffstats
path: root/common/simple-pwquery.c
diff options
context:
space:
mode:
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;