projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d723f
)
plugin.c: Check if `list_log' is not NULL.
author
Sebastian Harl
<sh@tokkee.org>
Mon, 26 Mar 2007 08:23:35 +0000
(10:23 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 26 Mar 2007 08:23:35 +0000
(10:23 +0200)
src/plugin.c
patch
|
blob
|
history
diff --git
a/src/plugin.c
b/src/plugin.c
index
e49963a
..
74a6e5e
100644
(file)
--- a/
src/plugin.c
+++ b/
src/plugin.c
@@
-470,6
+470,9
@@
void plugin_log (int level, const char *format, ...)
void (*callback) (int, const char *);
llentry_t *le;
+ if (list_log == NULL)
+ return;
+
#if !COLLECT_DEBUG
if (level >= LOG_DEBUG)
return;