aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirmngr/http.c')
-rw-r--r--dirmngr/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index 73606c01c..1050d19ee 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -2885,7 +2885,7 @@ connect_with_timeout (assuan_fd_t sock,
* because the caller is expected to close the socket. */
return gpg_err_make (default_errsource, GPG_ERR_ETIMEDOUT);
}
- if (!FD_ISSET (sock, &rset) && !FD_ISSET (sock, &wset))
+ if (!FD_ISSET (FD2INT (sock), &rset) && !FD_ISSET (FD2INT (sock), &wset))
{
/* select misbehaved. */
return gpg_err_make (default_errsource, GPG_ERR_SYSTEM_BUG);