mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
Problem: formatting error in ip.cpp
Solution: fix it
This commit is contained in:
parent
c8b141d964
commit
1d2af8d388
@ -102,9 +102,8 @@ zmq::fd_t zmq::open_socket (int domain_, int type_, int protocol_)
|
||||
#if defined ZMQ_HAVE_WINDOWS && defined WSA_FLAG_NO_HANDLE_INHERIT
|
||||
// if supported, create socket with WSA_FLAG_NO_HANDLE_INHERIT, such that
|
||||
// the race condition in making it non-inheritable later is avoided
|
||||
const fd_t s =
|
||||
WSASocket (domain_, type_, protocol_, NULL, 0,
|
||||
WSA_FLAG_OVERLAPPED | WSA_FLAG_NO_HANDLE_INHERIT);
|
||||
const fd_t s = WSASocket (domain_, type_, protocol_, NULL, 0,
|
||||
WSA_FLAG_OVERLAPPED | WSA_FLAG_NO_HANDLE_INHERIT);
|
||||
#else
|
||||
const fd_t s = socket (domain_, type_, protocol_);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user