aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-15 18:23:00 +0100
committerMax Kellermann <max@duempel.org>2009-03-15 18:23:00 +0100
commita899c210b9de405a232f0cd102ca9409ef89518b (patch)
tree3b42f6d527cb92c8f1c3c1592541511ce14d283d /src/command.c
parent9e30dfb9c195dab50c4d0173885a94e7b81d45bd (diff)
downloadmpd-a899c210b9de405a232f0cd102ca9409ef89518b.tar.gz
mpd-a899c210b9de405a232f0cd102ca9409ef89518b.tar.xz
mpd-a899c210b9de405a232f0cd102ca9409ef89518b.zip
log: removed DEBUG() and FATAL()
Use GLib the logging functions g_debug(), g_error() instead.
Diffstat (limited to '')
-rw-r--r--src/command.c7
1 files changed, 3 insertions, 4 deletions
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)