diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-09-27 22:16:17 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-05 10:32:08 -0400 |
commit | a78d04984240a3d04045402c964d9d8c5be463ef (patch) | |
tree | 0353869fca520c545daea46deb43069d2a172e9a /common/elapi/providers | |
parent | 8140cea7b4e3d3c9c6003eb6ae30e5e0fdd7c1ae (diff) | |
download | sssd-a78d04984240a3d04045402c964d9d8c5be463ef.tar.gz sssd-a78d04984240a3d04045402c964d9d8c5be463ef.tar.bz2 sssd-a78d04984240a3d04045402c964d9d8c5be463ef.zip |
ELAPI Resolving message attribute
This patch continues work started
with the previous patch.
It resolves message attribute.
Message attribute is a special attribute
in the event that may contain
references to other attributes in the
event. When message is resolved the
references are replaced with actual
values of the referenced attributes.
Diffstat (limited to 'common/elapi/providers')
-rw-r--r-- | common/elapi/providers/file/file_fmt_csv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/elapi/providers/file/file_fmt_csv.c b/common/elapi/providers/file/file_fmt_csv.c index e55d0b1c..1a198711 100644 --- a/common/elapi/providers/file/file_fmt_csv.c +++ b/common/elapi/providers/file/file_fmt_csv.c @@ -40,7 +40,7 @@ static unsigned file_csv_data_len(struct file_csv_cfg *cfg, { int serialized_len = 0; - TRACE_FLOW_STRING("col_get_data_len", "Entry point"); + TRACE_FLOW_STRING("file_csv_data_len", "Entry point"); switch (type) { case COL_TYPE_INTEGER: @@ -75,7 +75,7 @@ static unsigned file_csv_data_len(struct file_csv_cfg *cfg, if (cfg->csvqualifier) serialized_len += 2; - TRACE_FLOW_STRING("col_get_data_len","Exit point"); + TRACE_FLOW_STRING("file_csv_data_len", "Exit point"); return (uint32_t)serialized_len; } @@ -249,7 +249,7 @@ int file_serialize_csv(struct elapi_data_out *out_data, */ out_data->buffer[out_data->length] = '\0'; - TRACE_INFO_STRING("Data: ", out_data->buffer); + TRACE_INFO_STRING("Data: ", (char *)out_data->buffer); TRACE_FLOW_STRING("file_serialize_csv.", "Exit"); return error; |