From cc297886ca41d1a456f2f03d0026cd3b5d5a60f0 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Tue, 11 May 2004 21:02:59 +0000 Subject: maybe this fixes remoford's bug?!? git-svn-id: https://svn.musicpd.org/mpd/trunk@992 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3