projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a570c2
)
src/plugin.c: Notification callbacks were added to the wrong linked list.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 23 Dec 2007 10:43:02 +0000
(11:43 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 23 Dec 2007 10:43:02 +0000
(11:43 +0100)
src/plugin.c
patch
|
blob
|
history
diff --git
a/src/plugin.c
b/src/plugin.c
index
b24707a
..
88da209
100644
(file)
--- a/
src/plugin.c
+++ b/
src/plugin.c
@@
-477,7
+477,7
@@
int plugin_register_log (char *name,
int plugin_register_notification (const char *name,
int (*callback) (const notification_t *notif))
{
- return (register_callback (&list_
log
, name, (void *) callback));
+ return (register_callback (&list_
notification
, name, (void *) callback));
} /* int plugin_register_log */
int plugin_unregister_config (const char *name)