summaryrefslogtreecommitdiffstats
path: root/dispatcher/elapi_api.c
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-02-26 19:13:29 -0500
committerDmitri Pal <dpal@redhat.com>2009-02-26 19:13:29 -0500
commit15f299ca2e6902cb4ba784f5923cf910f96173a8 (patch)
tree41de0babf5ea48137738b40057969c51be587da6 /dispatcher/elapi_api.c
parentc20626a18afc1545f1fbc58907529ba743bb0843 (diff)
downloadelapi_draft-15f299ca2e6902cb4ba784f5923cf910f96173a8.tar.gz
elapi_draft-15f299ca2e6902cb4ba784f5923cf910f96173a8.tar.xz
elapi_draft-15f299ca2e6902cb4ba784f5923cf910f96173a8.zip
Testing complete. High level API works.
Diffstat (limited to 'dispatcher/elapi_api.c')
-rw-r--r--dispatcher/elapi_api.c4
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");
}