mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-15 15:16:52 +02:00
Solaris build fixed
This commit is contained in:
@@ -211,8 +211,10 @@ int zmq::tcp_connecter_t::open ()
|
||||
errno = err;
|
||||
return -1;
|
||||
}
|
||||
else if (AF_LOCAL == sa->sa_family) {
|
||||
s = socket (AF_LOCAL, SOCK_STREAM, 0);
|
||||
else if (AF_UNIX == sa->sa_family) {
|
||||
|
||||
// Create the socket.
|
||||
s = socket (AF_UNIX, SOCK_STREAM, 0);
|
||||
if (s == -1)
|
||||
return -1;
|
||||
|
||||
|
Reference in New Issue
Block a user