From 20597b3632d3b6e25ba532716106f90d5b64d0e8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 28 Oct 2013 23:58:17 +0100 Subject: *: use nullptr instead of NULL --- src/protocol/Result.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocol') diff --git a/src/protocol/Result.cxx b/src/protocol/Result.cxx index 48feee4d4..17b553c34 100644 --- a/src/protocol/Result.cxx +++ b/src/protocol/Result.cxx @@ -36,14 +36,14 @@ void command_error_v(Client &client, enum ack error, const char *fmt, va_list args) { - assert(current_command != NULL); + assert(current_command != nullptr); client_printf(client, "ACK [%i@%i] {%s} ", (int)error, command_list_num, current_command); client_vprintf(client, fmt, args); client_puts(client, "\n"); - current_command = NULL; + current_command = nullptr; } void -- cgit v1.2.3