Commit 65c75caa authored by Eric Wong's avatar Eric Wong

make the "kill" command work again

git-svn-id: https://svn.musicpd.org/mpd/trunk@2936 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent cc06400d
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment