aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-11 21:02:59 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-11 21:02:59 +0000
commitcc297886ca41d1a456f2f03d0026cd3b5d5a60f0 (patch)
tree3bd33ba11342f3095133ee7bf94e36ab720bfd44 /src
parent4db513dddb5d1ff61cd5ad18a2f2b85ca8aded20 (diff)
downloadmpd-cc297886ca41d1a456f2f03d0026cd3b5d5a60f0.tar.gz
mpd-cc297886ca41d1a456f2f03d0026cd3b5d5a60f0.tar.xz
mpd-cc297886ca41d1a456f2f03d0026cd3b5d5a60f0.zip
maybe this fixes remoford's bug?!?
git-svn-id: https://svn.musicpd.org/mpd/trunk@992 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 4dda82745..d58c1545e 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) {
+ while(buflen>0 || !interface->expired) {
copylen = buflen>
interface->outBufSize-interface->outBuflen?
interface->outBufSize-interface->outBuflen: