diff options
Diffstat (limited to 'dirmngr/server.c')
-rw-r--r-- | dirmngr/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dirmngr/server.c b/dirmngr/server.c index 536354c2f..32c265b18 100644 --- a/dirmngr/server.c +++ b/dirmngr/server.c @@ -2126,8 +2126,8 @@ cmd_getinfo (assuan_context_t ctx, char *line) #if ASSUAN_VERSION_NUMBER >= 0x020402 /* Check whether we can connect to the proxy. We use a special feature introduced with libassuan 2.4.2. */ - int sock = assuan_sock_connect_byname (NULL, 0, 0, NULL, - ASSUAN_SOCK_TOR); + assuan_fd_t sock = assuan_sock_connect_byname (NULL, 0, 0, NULL, + ASSUAN_SOCK_TOR); if (sock == ASSUAN_INVALID_FD) { err = assuan_write_status |