diff options
Diffstat (limited to 'common/asshelp.c')
-rw-r--r-- | common/asshelp.c | 4 |
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. */ |