mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
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:
parent
328fca1872
commit
274602820c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user