dirmngr: Minor fix for Windows.

* dirmngr/http.c (connect_with_timeout): Use FD2INT.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2017-07-24 15:28:36 +09:00
parent 328fca1872
commit 274602820c
1 changed files with 1 additions and 1 deletions

View File

@ -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;