summaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-07-24 08:28:36 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2017-07-24 08:30:56 +0200
commit274602820cfbb15c7cdb4525acd9793bdb472e78 (patch)
tree3811b73df3cbe3120d2a2861e00b2d23a20e12c0 /dirmngr
parentagent: Minor fix for Windows. (diff)
downloadgnupg2-274602820cfbb15c7cdb4525acd9793bdb472e78.tar.xz
gnupg2-274602820cfbb15c7cdb4525acd9793bdb472e78.zip
dirmngr: Minor fix for Windows.
* dirmngr/http.c (connect_with_timeout): Use FD2INT. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index dea4c71a9..c64107072 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -2745,7 +2745,7 @@ connect_with_timeout (assuan_fd_t sock,
}
FD_ZERO (&rset);
- FD_SET (sock, &rset);
+ FD_SET (FD2INT (sock), &rset);
wset = rset;
tval.tv_sec = timeout / 1000;
tval.tv_usec = (timeout % 1000) * 1000;