summaryrefslogtreecommitdiff
path: root/src/ip.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2010-01-16 09:39:44 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2010-01-16 09:39:44 +0100
commit51e012c446b500fe3dfb46b6475ebf018ecfeaa0 (patch)
treefb8f4df5df37f9f0258ef10f21904a764652ca39 /src/ip.cpp
parenta507d16e13fdd6b13e1e69d0d305750995513a1f (diff)
Solaris build fixed
Diffstat (limited to 'src/ip.cpp')
-rw-r--r--src/ip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ip.cpp b/src/ip.cpp
index d5bb05d..86fa2c8 100644
--- a/src/ip.cpp
+++ b/src/ip.cpp
@@ -320,7 +320,7 @@ int zmq::resolve_local_path (sockaddr_un *addr_, const char *path_)
return -1;
}
strcpy (addr_->sun_path, path_);
- addr_->sun_family = AF_LOCAL;
+ addr_->sun_family = AF_UNIX;
return 0;
}