summaryrefslogtreecommitdiffstats
path: root/common/asshelp.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2009-12-08 05:43:15 +0100
committerMarcus Brinkmann <mb@g10code.com>2009-12-08 05:43:15 +0100
commit146a4665bb4a2afcd24f444b4a8da055db715d78 (patch)
tree14e613cf978f26f03a07f7a1d3657da7d18aa513 /common/asshelp.c
parent2009-12-08 Marcus Brinkmann <marcus@g10code.de> (diff)
downloadgnupg2-146a4665bb4a2afcd24f444b4a8da055db715d78.tar.xz
gnupg2-146a4665bb4a2afcd24f444b4a8da055db715d78.zip
common/
2009-12-08 Marcus Brinkmann <marcus@g10code.de> * asshelp.c (start_new_gpg_agent): Convert posix FD to assuan FD. agent/ 2009-12-08 Marcus Brinkmann <marcus@g10code.de> * call-pinentry.c (start_pinentry): Convert posix fd to assuan fd. * call-scd.c (start_scd): Likewise. sm/ 2009-12-08 Marcus Brinkmann <marcus@g10code.de> * call-dirmngr.c (start_dirmngr_ext): Convert posix fd to assuan fd. tools/ 2009-12-08 Marcus Brinkmann <marcus@g10code.de> * gpg-connect-agent.c (main): Convert posix fd to assuan fd.
Diffstat (limited to 'common/asshelp.c')
-rw-r--r--common/asshelp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/asshelp.c b/common/asshelp.c
index 09ef10ba8..b2d13f32b 100644
--- a/common/asshelp.c
+++ b/common/asshelp.c
@@ -268,8 +268,8 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
i=0;
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;
/* Connect to the agent and perform initial handshaking. */