Fix socket implementation on Windows.
2011-02-03 Marcus Brinkmann <marcus@g10code.com> * w32-io.c (_gpgme_io_socket): Return fd, not res.
This commit is contained in:
parent
129741d2f7
commit
2bdbe88822
@ -1,3 +1,7 @@
|
|||||||
|
2011-02-03 Marcus Brinkmann <marcus@g10code.com>
|
||||||
|
|
||||||
|
* w32-io.c (_gpgme_io_socket): Return fd, not res.
|
||||||
|
|
||||||
2011-02-02 Marcus Brinkmann <mb@g10code.com>
|
2011-02-02 Marcus Brinkmann <mb@g10code.com>
|
||||||
|
|
||||||
* assuan-support.c (my_socket, my_connect): New functions.
|
* assuan-support.c (my_socket, my_connect): New functions.
|
||||||
|
@ -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);
|
TRACE_SUC2 ("socket=0x%x (0x%x)", fd, fd_table[fd].socket);
|
||||||
|
|
||||||
return res;
|
return fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user