make the "kill" command work again

git-svn-id: https://svn.musicpd.org/mpd/trunk@2936 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Eric Wong 2005-02-07 04:01:41 +00:00
parent cc06400df2
commit 65c75caa39

View File

@ -295,7 +295,7 @@ static int proccessLineOfInput(Interface * interface) {
}
static int processBytesRead(Interface * interface, int bytesRead) {
int ret = 1;
int ret = 0;
while(bytesRead > 0) {
interface->bufferLength++;
@ -321,7 +321,7 @@ static int processBytesRead(Interface * interface, int bytesRead) {
}
}
return 0;
return ret;
}
int interfaceReadInput(Interface * interface) {