summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/daemon/slave.c4
1 files 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