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:
parent
cc06400df2
commit
65c75caa39
@ -295,7 +295,7 @@ static int proccessLineOfInput(Interface * interface) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int processBytesRead(Interface * interface, int bytesRead) {
|
static int processBytesRead(Interface * interface, int bytesRead) {
|
||||||
int ret = 1;
|
int ret = 0;
|
||||||
|
|
||||||
while(bytesRead > 0) {
|
while(bytesRead > 0) {
|
||||||
interface->bufferLength++;
|
interface->bufferLength++;
|
||||||
@ -321,7 +321,7 @@ static int processBytesRead(Interface * interface, int bytesRead) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int interfaceReadInput(Interface * interface) {
|
int interfaceReadInput(Interface * interface) {
|
||||||
|
Loading…
Reference in New Issue
Block a user