From: Florian Forster Date: Sun, 23 Dec 2007 10:43:02 +0000 (+0100) Subject: src/plugin.c: Notification callbacks were added to the wrong linked list. X-Git-Tag: collectd-4.3.0beta0~54 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=147105924ab2dac92ac53cc763c473f7a712b9c9;p=collectd.git src/plugin.c: Notification callbacks were added to the wrong linked list. --- diff --git a/src/plugin.c b/src/plugin.c index b24707a0..88da209c 100644 --- 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)