diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-03-24 11:59:47 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-03-24 11:59:47 -0400 |
commit | f2b7b207e5a5cc91786ec438a63c74c113f26c7f (patch) | |
tree | d38a6298b1b1351236fcd6e560c7dbc6786d1d98 | |
parent | 48a42e0b1826ce0f09702b045f29788039e72f03 (diff) |
parse-events: Add function to handler that is postponed
This was a silly bug that the function to add to events from plugins never
was stored in the temp structure.
Reported-by: "Luis Claudio R. Goncalves" <lclaudio@uudg.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | parse-events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-events.c b/parse-events.c index 3eb6cb1..746187e 100644 --- a/parse-events.c +++ b/parse-events.c | |||
@@ -4369,6 +4369,7 @@ int pevent_register_event_handler(struct pevent *pevent, | |||
4369 | if (sys_name) | 4369 | if (sys_name) |
4370 | handle->sys_name = strdup(sys_name); | 4370 | handle->sys_name = strdup(sys_name); |
4371 | 4371 | ||
4372 | handle->func = func; | ||
4372 | handle->next = pevent->handlers; | 4373 | handle->next = pevent->handlers; |
4373 | pevent->handlers = handle; | 4374 | pevent->handlers = handle; |
4374 | 4375 | ||