[Pkg-gnupg-commit] [gnupg2] 134/185: dirmngr: Minor fix for Windows.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Aug 7 11:55:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit 274602820cfbb15c7cdb4525acd9793bdb472e78
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Mon Jul 24 15:28:36 2017 +0900

    dirmngr: Minor fix for Windows.
    
    * dirmngr/http.c (connect_with_timeout): Use FD2INT.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 dirmngr/http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dirmngr/http.c b/dirmngr/http.c
index dea4c71..c641070 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list