aboutsummaryrefslogtreecommitdiffstats
path: root/src/client_event.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-25 12:04:20 +0200
committerMax Kellermann <max@duempel.org>2012-09-25 12:04:20 +0200
commitb62a8e3e3e8be005ccc8be8d157a0fb92d461e31 (patch)
treeffac21798e2452cfe1bfade2a858b8f87835d3ed /src/client_event.c
parente47240931ae6e9267025a26c970d68cbe04519fb (diff)
downloadmpd-b62a8e3e3e8be005ccc8be8d157a0fb92d461e31.tar.gz
mpd-b62a8e3e3e8be005ccc8be8d157a0fb92d461e31.tar.xz
mpd-b62a8e3e3e8be005ccc8be8d157a0fb92d461e31.zip
command: add COMMAND_RETURN_IDLE
Eliminate the hack in handle_idle().
Diffstat (limited to '')
-rw-r--r--src/client_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client_event.c b/src/client_event.c
index 4f54ae0a7..dbcd35c44 100644
--- a/src/client_event.c
+++ b/src/client_event.c
@@ -77,6 +77,7 @@ client_in_event(G_GNUC_UNUSED GIOChannel *source, GIOCondition condition,
ret = client_read(client);
switch (ret) {
case COMMAND_RETURN_OK:
+ case COMMAND_RETURN_IDLE:
case COMMAND_RETURN_ERROR:
break;