From 147105924ab2dac92ac53cc763c473f7a712b9c9 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 23 Dec 2007 11:43:02 +0100 Subject: [PATCH] src/plugin.c: Notification callbacks were added to the wrong linked list. --- src/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0