From 862dc7be0b86270609186224e1569ed6b922fa68 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 25 May 2007 19:49:24 +0200 Subject: [PATCH] network plugin: Prepend the plugin's name to debug messages. --- src/network.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/network.c b/src/network.c index a426c136..34385bf6 100644 --- a/src/network.c +++ b/src/network.c @@ -385,7 +385,8 @@ static int parse_part_values (void **ret_buffer, int *ret_buffer_len, if (buffer_len < (15)) { - DEBUG ("packet is too short: buffer_len = %i", buffer_len); + DEBUG ("network plugin: packet is too short: buffer_len = %i", + buffer_len); return (-1); } @@ -1047,7 +1048,7 @@ static void network_send_buffer (const char *buffer, int buffer_len) sockent_t *se; int status; - DEBUG ("buffer_len = %i", buffer_len); + DEBUG ("network plugin: network_send_buffer: buffer_len = %i", buffer_len); for (se = sending_sockets; se != NULL; se = se->next) { -- 2.11.0