aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-11 21:33:15 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-11 21:33:15 +0000
commite7ae1b0ce96b41dc336210c6df575a4d1cb9d2be (patch)
treebb29571a38e14dbd2cf1bb21e15380ddc59ce4ac /src
parentcc297886ca41d1a456f2f03d0026cd3b5d5a60f0 (diff)
downloadmpd-e7ae1b0ce96b41dc336210c6df575a4d1cb9d2be.tar.gz
mpd-e7ae1b0ce96b41dc336210c6df575a4d1cb9d2be.tar.xz
mpd-e7ae1b0ce96b41dc336210c6df575a4d1cb9d2be.zip
fix foobar!
git-svn-id: https://svn.musicpd.org/mpd/trunk@993 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface.c b/src/interface.c
index d58c1545e..2fb95ae1c 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -558,7 +558,7 @@ int interfacePrintWithFD(int fd,char * buffer) {
interface = interfaces+i;
- while(buflen>0 || !interface->expired) {
+ while(buflen>0 && !interface->expired) {
copylen = buflen>
interface->outBufSize-interface->outBuflen?
interface->outBufSize-interface->outBuflen: