diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-09 13:04:20 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-09 13:04:20 +0000 |
commit | 902cfe25231a9c2fd3459fec81a913a5ce85681d (patch) | |
tree | 91e248de3912851bdb4edf91550ff7c5ac466c54 /src/listen.c | |
parent | c2a238309070d50498971fcddd8f437bba536263 (diff) | |
download | mpd-902cfe25231a9c2fd3459fec81a913a5ce85681d.tar.gz mpd-902cfe25231a9c2fd3459fec81a913a5ce85681d.tar.xz mpd-902cfe25231a9c2fd3459fec81a913a5ce85681d.zip |
add "genre" and "description" to shout config parameters
git-svn-id: https://svn.musicpd.org/mpd/trunk@2557 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/listen.c')
-rw-r--r-- | src/listen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/listen.c b/src/listen.c index 7446f2e91..9d33698a0 100644 --- a/src/listen.c +++ b/src/listen.c @@ -151,8 +151,9 @@ static int establishListen(unsigned int port, ConfigParam * param) { } if(bind(sock,addrp,addrlen)<0) { - ERROR("unable to bind port %i (for address at line %i): %s\n", - port, param->line, strerror(errno)); + ERROR("unable to bind port %u", port); + if(param) ERROR(" (for address at line %i)", param->line); + ERROR(": %s\n", strerror(errno)); ERROR("maybe MPD is still running?\n"); exit(EXIT_FAILURE); } |