fix foobar!
git-svn-id: https://svn.musicpd.org/mpd/trunk@993 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
cc297886ca
commit
e7ae1b0ce9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue