mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +01:00
fix overwriting errno on bind failure
Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>
This commit is contained in:
committed by
Martin Sustrik
parent
a9d969a73e
commit
22b2b9a2b6
@@ -57,6 +57,9 @@ namespace zmq
|
||||
sockaddr_storage addr;
|
||||
socklen_t addr_len;
|
||||
|
||||
// True, if the undelying file for UNIX domain socket exists.
|
||||
bool has_file;
|
||||
|
||||
// Underlying socket.
|
||||
fd_t s;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user