summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-08-10 12:26:15 +0200
committerMax Kellermann <max@musicpd.org>2017-08-10 13:12:13 +0200
commit54de8b8e77c90a42aef8f0ef665caf42c0f1d1b6 (patch)
tree117c2d506d5aa0fb94e0b6187a33d88ef45d34ea /src/client
parent796956970e26e5ea1730d9f070014f592ab9c082 (diff)
net/*, ...: use AF_LOCAL instead of AF_UNIX
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ClientNew.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientNew.cxx b/src/client/ClientNew.cxx
index 97a891e7a..772c5661b 100644
--- a/src/client/ClientNew.cxx
+++ b/src/client/ClientNew.cxx
@@ -65,7 +65,7 @@ client_new(EventLoop &loop, Partition &partition,
assert(fd >= 0);
#ifdef HAVE_LIBWRAP
- if (address.GetFamily() != AF_UNIX) {
+ if (address.GetFamily() != AF_LOCAL) {
// TODO: shall we obtain the program name from argv[0]?
const char *progname = "mpd";