Home GnuPG

Fix WSAEADDRINUSE EADDRINUSE mismatch.
ab5264b20f75Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix WSAEADDRINUSE EADDRINUSE mismatch.

* src/w32-sock-nonce.inc.h (EADDRINUSE): Avoid redefining.
* src/assuan-socket.c (_assuan_sock_bind): Set error to EADDRINUSE.

With the latest mingw-w64 EADDRINUSE is defined but to a different
value than WSAEADDRINUSE. We need to use EADDRINUSE becuase that is
what applications expect.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 27 2015, 5:09 PM
Parents
rA054f7c27916f: Comment updates
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rAab5264b20f75: Fix WSAEADDRINUSE EADDRINUSE mismatch. (authored by Werner Koch <wk@gnupg.org>).Jan 27 2015, 5:09 PM