[git] Assuan - branch, master, updated. libassuan-2.5.2-4-g75770b1
[email protected] (by Werner Koch) Fri, 25 Jan 2019 13:55:27 +0100
| Newsgroups | gmane.comp.encryption.gpg.cvs |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPC library used by GnuPG".
The branch, master has been updated
via 75770b1131e11075c82031bdb220591154df9e64 (commit)
from 5e48116051a476e1dcf5f66d9e21d8003b27ad20 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 75770b1131e11075c82031bdb220591154df9e64
Author: Werner Koch <[email protected]>
Date: Fri Jan 25 13:54:59 2019 +0100
socks5: Fix compiler warning on Windows.
* src/assuan-socket.c (socks5_connect): Use cast macro to get the
hightest socket number.
--
GnuPG-bug-id: 3381
Signed-off-by: Werner Koch <[email protected]>
diff --git a/src/assuan-socket.c b/src/assuan-socket.c
index 91b5f45..bffe480 100644
--- a/src/assuan-socket.c
+++ b/src/assuan-socket.c
@@ -789,7 +789,7 @@ socks5_connect (assuan_context_t ctx, assuan_fd_t sock,
select indeed blocks, but it's only single thread. For
succeeding calls, this select should soon return successfully.
*/
- ret = select (sock+1, &fds, NULL, NULL, &tv);
+ ret = select (HANDLE2SOCKET (sock)+1, &fds, NULL, NULL, &tv);
if (!ret)
{
gpg_err_set_errno (ETIMEDOUT);
-----------------------------------------------------------------------
Summary of changes:
src/assuan-socket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
IPC library used by GnuPG
http://git.gnupg.org