diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-11 21:33:15 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-11 21:33:15 +0000 |
commit | e7ae1b0ce96b41dc336210c6df575a4d1cb9d2be (patch) | |
tree | bb29571a38e14dbd2cf1bb21e15380ddc59ce4ac /src/interface.c | |
parent | cc297886ca41d1a456f2f03d0026cd3b5d5a60f0 (diff) |
fix foobar!
git-svn-id: https://svn.musicpd.org/mpd/trunk@993 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/interface.c')
-rw-r--r-- | src/interface.c | 2 |
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: |