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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32-io.c b/src/w32-io.c
index 10e0dade..56a05c4b 100644
--- a/src/w32-io.c
+++ b/src/w32-io.c
@@ -2035,7 +2035,7 @@ _gpgme_io_socket (int domain, int type, int proto)
TRACE_SUC2 ("socket=0x%x (0x%x)", fd, fd_table[fd].socket);
- return res;
+ return fd;
}