w32: Fix errno for assuan_sock_bind failure.
* src/assuan-socket.c (_assuan_sock_bind): Use WSAGetLastError and the mapping to set ERRNO.
- GnuPG-bug-id: T7456
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
w32: Fix errno for assuan_sock_bind failure.
Description
Details
Event TimelineComment Actions What do you thing of storing the last WSAGetLAstError value also in the context and extend assuan_sock_get_flag to return this error value? The thing here is that I fear the mapped information is not enough to find the problem with the bind call. |