aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-23 15:08:13 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-23 15:08:13 +0000
commitdaeaccca155541ad3511f3f606a537c3f40a0686 (patch)
treed30f040d517c2d1d818fbd7a54add933e345b91a /src/interface.c
parent3ac22ac7ea2e4df156ca9e8d23f16993099fd582 (diff)
downloadmpd-daeaccca155541ad3511f3f606a537c3f40a0686.tar.gz
mpd-daeaccca155541ad3511f3f606a537c3f40a0686.tar.xz
mpd-daeaccca155541ad3511f3f606a537c3f40a0686.zip
various bugfixes for 0.10.4
git-svn-id: https://svn.musicpd.org/mpd/branches/branch-0.10.3@1143 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface.c b/src/interface.c
index 79445c380..f83765f0a 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -554,7 +554,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: