change a break; to a return statement
git-svn-id: https://svn.musicpd.org/mpd/trunk@3444 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
a78c6002ad
commit
c7cd49d123
@ -321,7 +321,7 @@ static int processBytesRead(Interface * interface, int bytesRead) {
|
||||
}
|
||||
if(ret == COMMAND_RETURN_KILL || ret == COMMAND_RETURN_CLOSE)
|
||||
{
|
||||
break;
|
||||
return ret;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user