diff options
author | Eric Wong <normalperson@yhbt.net> | 2005-02-07 04:01:41 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2005-02-07 04:01:41 +0000 |
commit | 65c75caa398de3d0c6f51c822ae4ccb797709661 (patch) | |
tree | 68b36b6722ac7f064ad8d98ee01b1e270c544b08 /src/interface.c | |
parent | cc06400df24fc1b007aad851d11fb3408c52f772 (diff) | |
download | mpd-65c75caa398de3d0c6f51c822ae4ccb797709661.tar.gz mpd-65c75caa398de3d0c6f51c822ae4ccb797709661.tar.xz mpd-65c75caa398de3d0c6f51c822ae4ccb797709661.zip |
make the "kill" command work again
git-svn-id: https://svn.musicpd.org/mpd/trunk@2936 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/interface.c')
-rw-r--r-- | src/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.c b/src/interface.c index 9e85e289d..fd33382e8 100644 --- a/src/interface.c +++ b/src/interface.c @@ -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) { |