dirmngr: Fix type of sock.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 12 Apr 2017 11:50:50 +0000 (20:50 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 12 Apr 2017 11:50:50 +0000 (20:50 +0900)
* dirmngr/http.c (send_request): Use assuan_fd_t for SOCK.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
dirmngr/http.c

index 04a30d6..356e2bc 100644 (file)
@@ -1643,7 +1643,7 @@ send_request (http_t hd, const char *httphost, const char *auth,
   const char *http_proxy = NULL;
   char *proxy_authstr = NULL;
   char *authstr = NULL;
-  int sock;
+  assuan_fd_t sock;
 
   if (hd->uri->use_tls && !hd->session)
     {