aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-04-12 11:50:50 +0000
committerNIIBE Yutaka <[email protected]>2017-04-12 11:50:50 +0000
commit6755b3b505f79a5a233b18e85f57a0d3a455e664 (patch)
tree8e085b3a122fb895b44c7e42b40067a4b62e8e82
parenttools: Fix condition for gpg-connect-agent. (diff)
downloadgnupg-6755b3b505f79a5a233b18e85f57a0d3a455e664.tar.gz
gnupg-6755b3b505f79a5a233b18e85f57a0d3a455e664.zip
dirmngr: Fix type of sock.
* dirmngr/http.c (send_request): Use assuan_fd_t for SOCK. Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--dirmngr/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index 04a30d6b4..356e2bca5 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -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)
{