From 437181ca0c22642ab8dbe2ff62f097f6b81047bd Mon Sep 17 00:00:00 2001 From: Ferry Huberts Date: Wed, 7 Dec 2016 22:20:50 +0100 Subject: [PATCH] info: trival debug output fix Signed-off-by: Ferry Huberts --- lib/info/olsrd_info.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/info/olsrd_info.c b/lib/info/olsrd_info.c index 5917bf58..e8bed0d5 100644 --- a/lib/info/olsrd_info.c +++ b/lib/info/olsrd_info.c @@ -761,7 +761,7 @@ static void ipc_action(int fd, void *data __attribute__ ((unused)), unsigned int if (rx_count < 0) { #ifndef NODEBUG - olsr_printf(1, "(%s) s < 0\n", name); + olsr_printf(1, "(%s) rx_count < 0\n", name); #endif /* NODEBUG */ *req = '\0'; drain_request(ipc_connection); @@ -773,7 +773,7 @@ static void ipc_action(int fd, void *data __attribute__ ((unused)), unsigned int if (!rx_count) { #ifndef NODEBUG - olsr_printf(1, "(%s) s == 0\n", name); + olsr_printf(1, "(%s) rx_count == 0\n", name); #endif /* NODEBUG */ *req = '\0'; drain_request(ipc_connection); @@ -785,7 +785,7 @@ static void ipc_action(int fd, void *data __attribute__ ((unused)), unsigned int if (rx_count >= (ssize_t) sizeof(req_buffer)) { #ifndef NODEBUG - olsr_printf(1, "(%s) s > %ld\n", name, (long int) sizeof(req_buffer)); + olsr_printf(1, "(%s) rx_count > %ld\n", name, (long int) sizeof(req_buffer)); #endif /* NODEBUG */ req[sizeof(req_buffer) - 1] = '\0'; drain_request(ipc_connection); -- 2.20.1