From 1e2018ce831654f5bf649c5ae4d2e9b003c5a52e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Jan 2013 10:11:08 +0100 Subject: Client: move connection functions into the class --- src/ClientRead.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ClientRead.cxx') diff --git a/src/ClientRead.cxx b/src/ClientRead.cxx index 7e85c3a9..e58c73de 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; } -- cgit v1.2.3