diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-05 18:27:09 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-05 18:27:09 +0000 |
commit | 3a3b4aff37397b786782d5a7e1f106b83d272abd (patch) | |
tree | 15e1490ebee57e1d6242c30e3f75cf969fc26d96 /polyp/socket-client.c | |
parent | dbad54a20bf323d35176b1faba4fdd4b425f9ad9 (diff) |
AF_UNIX and PF_UNIX is more portable than the _LOCAL equivalent.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@376 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/socket-client.c')
-rw-r--r-- | polyp/socket-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/socket-client.c b/polyp/socket-client.c index 3cd3e946..2eecc347 100644 --- a/polyp/socket-client.c +++ b/polyp/socket-client.c @@ -203,7 +203,7 @@ struct pa_socket_client* pa_socket_client_new_unix(struct pa_mainloop_api *m, co assert(m && filename); memset(&sa, 0, sizeof(sa)); - sa.sun_family = AF_LOCAL; + sa.sun_family = AF_UNIX; strncpy(sa.sun_path, filename, sizeof(sa.sun_path)-1); sa.sun_path[sizeof(sa.sun_path) - 1] = 0; |