From a899c210b9de405a232f0cd102ca9409ef89518b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 15 Mar 2009 18:23:00 +0100 Subject: log: removed DEBUG() and FATAL() Use GLib the logging functions g_debug(), g_error() instead. --- src/command.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index 513a53e5b..7603f669c 100644 --- a/src/command.c +++ b/src/command.c @@ -33,7 +33,6 @@ #include "stats.h" #include "permission.h" #include "buffer2array.h" -#include "log.h" #include "stored_playlist.h" #include "ack.h" #include "output_command.h" @@ -1797,10 +1796,10 @@ command_process_list(struct client *client, for (GSList *cur = list; cur != NULL; cur = g_slist_next(cur)) { char *cmd = cur->data; - DEBUG("command_process_list: process command \"%s\"\n", - cmd); + g_debug("command_process_list: process command \"%s\"", + cmd); ret = command_process(client, cmd); - DEBUG("command_process_list: command returned %i\n", ret); + g_debug("command_process_list: command returned %i", ret); if (ret != COMMAND_RETURN_OK || client_is_expired(client)) break; else if (list_ok) -- cgit v1.2.3