aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32-io.c')
-rw-r--r--src/w32-io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/w32-io.c b/src/w32-io.c
index 1a65e537..69d8a398 100644
--- a/src/w32-io.c
+++ b/src/w32-io.c
@@ -1514,13 +1514,12 @@ _gpgme_io_socket (int domain, int type, int proto)
int
_gpgme_io_connect (int fd, struct sockaddr *addr, int addrlen)
{
- int sockfd;
int res;
TRACE_BEG2 (DEBUG_SYSIO, "_gpgme_io_connect", fd,
"addr=%p, addrlen=%i", addr, addrlen);
- res = connect (sockfd, addr, addrlen);
+ res = connect (fd, addr, addrlen);
if (!res)
{
errno = wsa2errno (WSAGetLastError ());