From ff626ac76357940b2f0ac5cb243a68ac13df0f8a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:48:38 +0200 Subject: *: use references instead of pointers --- 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 ed4d0285a..956f4f71b 100644 --- a/src/ClientRead.cxx +++ b/src/ClientRead.cxx @@ -40,7 +40,7 @@ Client::OnSocketInput(void *data, size_t length) BufferedSocket::ConsumeInput(newline + 1 - p); - enum command_return result = client_process_line(this, p); + enum command_return result = client_process_line(*this, p); switch (result) { case COMMAND_RETURN_OK: case COMMAND_RETURN_IDLE: -- cgit v1.2.3