From 59f8144c50765189594d5932fc25869f9ea6e265 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:19:03 +0200 Subject: *: use nullptr instead of NULL --- 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 af2e572a2..ed4d0285a 100644 --- a/src/ClientRead.cxx +++ b/src/ClientRead.cxx @@ -30,7 +30,7 @@ Client::OnSocketInput(void *data, size_t length) { char *p = (char *)data; char *newline = (char *)memchr(p, '\n', length); - if (newline == NULL) + if (newline == nullptr) return InputResult::MORE; TimeoutMonitor::ScheduleSeconds(client_timeout); -- cgit v1.2.3