aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientRead.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-15 10:11:08 +0100
committerMax Kellermann <max@duempel.org>2013-01-15 10:59:28 +0100
commit1e2018ce831654f5bf649c5ae4d2e9b003c5a52e (patch)
tree3b9a26135f1a2598f0dcf77f72ea2beb7cb59162 /src/ClientRead.cxx
parent3fcf17cb79c1bbec631c1a440eb05953ece87b0d (diff)
downloadmpd-1e2018ce831654f5bf649c5ae4d2e9b003c5a52e.tar.gz
mpd-1e2018ce831654f5bf649c5ae4d2e9b003c5a52e.tar.xz
mpd-1e2018ce831654f5bf649c5ae4d2e9b003c5a52e.zip
Client: move connection functions into the class
Diffstat (limited to '')
-rw-r--r--src/ClientRead.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientRead.cxx b/src/ClientRead.cxx
index 7e85c3a99..e58c73dea 100644
--- a/src/ClientRead.cxx
+++ b/src/ClientRead.cxx
@@ -58,7 +58,7 @@ client_input_received(Client *client, size_t bytesRead)
if (ret == COMMAND_RETURN_KILL ||
ret == COMMAND_RETURN_CLOSE)
return ret;
- if (client_is_expired(client))
+ if (client->IsExpired())
return COMMAND_RETURN_CLOSE;
}