diff options
Diffstat (limited to 'dispatcher/elapi_api.c')
-rw-r--r-- | dispatcher/elapi_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dispatcher/elapi_api.c b/dispatcher/elapi_api.c index b89ac7d..919dee2 100644 --- a/dispatcher/elapi_api.c +++ b/dispatcher/elapi_api.c @@ -29,7 +29,7 @@ #include "elapi_collection.h" #include "elapi_sink.h" -const char event_name[] = "event"; +char event_name[] = "event"; /* Pointer to default global dispatcher */ struct dispatcher_handle *global_dispatcher = (struct dispatcher_handle *)(NULL); @@ -110,6 +110,6 @@ int create_event(struct collection_item **event,char *name) void log_event(char *format_string,struct collection_item *event) { DEBUG_STRING("log_event","Entry"); - log_audit_event(global_dispatcher, event, format_string); + log_audit_event(global_dispatcher, format_string, event); DEBUG_STRING("log_event","Entry"); } |