aboutsummaryrefslogtreecommitdiffstats
path: root/agent/call-pinentry.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2009-12-08 04:43:15 +0000
committerMarcus Brinkmann <[email protected]>2009-12-08 04:43:15 +0000
commit146a4665bb4a2afcd24f444b4a8da055db715d78 (patch)
tree14e613cf978f26f03a07f7a1d3657da7d18aa513 /agent/call-pinentry.c
parent2009-12-08 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-146a4665bb4a2afcd24f444b4a8da055db715d78.tar.gz
gnupg-146a4665bb4a2afcd24f444b4a8da055db715d78.zip
common/
2009-12-08 Marcus Brinkmann <[email protected]> * asshelp.c (start_new_gpg_agent): Convert posix FD to assuan FD. agent/ 2009-12-08 Marcus Brinkmann <[email protected]> * call-pinentry.c (start_pinentry): Convert posix fd to assuan fd. * call-scd.c (start_scd): Likewise. sm/ 2009-12-08 Marcus Brinkmann <[email protected]> * call-dirmngr.c (start_dirmngr_ext): Convert posix fd to assuan fd. tools/ 2009-12-08 Marcus Brinkmann <[email protected]> * gpg-connect-agent.c (main): Convert posix fd to assuan fd.
Diffstat (limited to '')
-rw-r--r--agent/call-pinentry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index c5a6f7814..46293d96e 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -304,8 +304,8 @@ start_pinentry (ctrl_t ctrl)
if (!opt.running_detached)
{
if (log_get_fd () != -1)
- no_close_list[i++] = log_get_fd ();
- no_close_list[i++] = fileno (stderr);
+ no_close_list[i++] = assuan_fd_from_posix_fd (log_get_fd ());
+ no_close_list[i++] = assuan_fd_from_posix_fd (fileno (stderr));
}
no_close_list[i] = -1;