diff options
author | Marcus Brinkmann <[email protected]> | 2009-04-15 12:04:21 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2009-04-15 12:04:21 +0000 |
commit | 2dce8370e75119af7c54397b0c8b9956d9a516e9 (patch) | |
tree | 0f8be965cdff09983332bbbc348f81e3839c6069 /src/w32-io.c | |
parent | assuan/ (diff) | |
download | gpgme-2dce8370e75119af7c54397b0c8b9956d9a516e9.tar.gz gpgme-2dce8370e75119af7c54397b0c8b9956d9a516e9.zip |
2009-04-15 Marcus Brinkmann <[email protected]>
* posix-io.c (_gpgme_io_socket, _gpgme_io_connect): New functions.
* w32-io.c (_gpgme_io_connect): Fix stupid error.
Diffstat (limited to 'src/w32-io.c')
-rw-r--r-- | src/w32-io.c | 3 |
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 ()); |