From daeaccca155541ad3511f3f606a537c3f40a0686 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sun, 23 May 2004 15:08:13 +0000 Subject: 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 --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interface.c') 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: -- cgit v1.2.3