aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-08-18 16:50:29 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-08-18 16:50:29 +0000
commitc7cd49d123e52c5a4db03f159a51bf894ea13f26 (patch)
treebb5860a0d820999b410b1dfaad6508f3754a87e2 /src
parenta78c6002ad6704f9c0890347a78fc63440581f75 (diff)
downloadmpd-c7cd49d123e52c5a4db03f159a51bf894ea13f26.tar.gz
mpd-c7cd49d123e52c5a4db03f159a51bf894ea13f26.tar.xz
mpd-c7cd49d123e52c5a4db03f159a51bf894ea13f26.zip
change a break; to a return statement
git-svn-id: https://svn.musicpd.org/mpd/trunk@3444 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface.c b/src/interface.c
index 98943a0e6..5060ea8ee 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -321,7 +321,7 @@ static int processBytesRead(Interface * interface, int bytesRead) {
}
if(ret == COMMAND_RETURN_KILL || ret == COMMAND_RETURN_CLOSE)
{
- break;
+ return ret;
}
}