From 3c58b07e75e2c6cc1cd57d2902aa305335161e5e Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 30 Aug 2008 15:19:55 +0000 Subject: * lib/sockio-c.c (oa_open_local_client_stream_socket): Use OPENAXIOM_AF_LOCAL, not AF_LOCAL. --- src/lib/sockio-c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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); -- cgit v1.2.3