diff options
author | dos-reis <gdr@axiomatics.org> | 2008-08-30 15:19:55 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-08-30 15:19:55 +0000 |
commit | 3c58b07e75e2c6cc1cd57d2902aa305335161e5e (patch) | |
tree | 97237be665ace25bd6dd1572c0560e8f2e525831 /src/lib | |
parent | 9c6a229c1aab609e3c51a1b9258b6c7c20cf7f3e (diff) | |
download | open-axiom-3c58b07e75e2c6cc1cd57d2902aa305335161e5e.tar.gz |
* lib/sockio-c.c (oa_open_local_client_stream_socket): Use
OPENAXIOM_AF_LOCAL, not AF_LOCAL.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/sockio-c.c | 2 |
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); |