projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c24f7a3
)
network plugin: Prepend the plugin's name to debug messages.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 25 May 2007 17:49:24 +0000
(19:49 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 25 May 2007 17:49:24 +0000
(19:49 +0200)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
a426c13
..
34385bf
100644
(file)
--- 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)
{