diff options
author | Max Kellermann <max@duempel.org> | 2009-06-10 08:01:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-06-10 08:01:07 +0200 |
commit | d5ddecb15a72aeb2beea4963af914ee828ce032b (patch) | |
tree | 90deb30579863ffa7446f972031bb564d82f7a41 /src/decoder_thread.c | |
parent | 5bb8a5eeef1994238d90670160f6bec199d5dfab (diff) | |
download | mpd-d5ddecb15a72aeb2beea4963af914ee828ce032b.tar.gz mpd-d5ddecb15a72aeb2beea4963af914ee828ce032b.tar.xz mpd-d5ddecb15a72aeb2beea4963af914ee828ce032b.zip |
listen: bind() failure on secondary address is non-fatal
Several users had problems with binding MPD to "localhost". The cause
was duplicate /etc/hosts entries: the resolver library returns
127.0.0.1 twice, and of course, MPD attempts to bind to "both" of
them. This patch makes failures non-fatal, given that at least one
address was bound successfully. This is a workaround; users should
rather fix their /etc/hosts file.
Diffstat (limited to 'src/decoder_thread.c')
0 files changed, 0 insertions, 0 deletions