aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/sockio-c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sockio-c.c b/src/lib/sockio-c.c
index 09f0b638..9fcd8cca 100644
--- a/src/lib/sockio-c.c
+++ b/src/lib/sockio-c.c
@@ -250,7 +250,7 @@ oa_open_local_client_stream_socket(const char* path)
return -1;
memset(&addr, 0, sizeof addr);
- addr.sun_family = AF_LOCAL;
+ addr.sun_family = OPENAXIOM_AF_LOCAL;
strncpy(addr.sun_path, path, sizeof(addr.sun_path) - 1);
if (connect(sock, (struct sockaddr*)&addr, sizeof addr) < 0) {
close(sock);