From 7b2416a8d17933436578ff827b735238ca0a4466 Mon Sep 17 00:00:00 2001 From: Benoit Dejean Date: Sat, 28 Feb 2015 01:20:20 +0100 Subject: [PATCH] Use LIBGTOP_ENABLE_DEBUG instead of undefined SLAVE_DEBUG. --- src/daemon/slave.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/slave.c b/src/daemon/slave.c index 0bbd9487..ef5cf4ac 100644 --- a/src/daemon/slave.c +++ b/src/daemon/slave.c @@ -40,7 +40,7 @@ handle_slave_connection (int input, int output) glibtop_send_version (glibtop_global_server, output); while (do_read (input, cmnd, sizeof (glibtop_command))) { -#ifdef SLAVE_DEBUG +#ifdef LIBGTOP_ENABLE_DEBUG fprintf (stderr, "Slave %d received command " "%llu from client.\n", getpid (), cmnd->command); #endif @@ -55,7 +55,7 @@ handle_slave_connection (int input, int output) memset (parameter, 0, sizeof (parameter)); if (cmnd->data_size) { -#ifdef SLAVE_DEBUG +#ifdef LIBGTOP_ENABLE_DEBUG fprintf (stderr, "Client has %llu bytes of data.\n", cmnd->data_size); #endif