diff options
author | Martin Willi <martin@strongswan.org> | 2008-10-14 08:52:13 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-10-14 08:52:13 +0000 |
commit | a985db3ff330bf65b0b9dd16571c3a5c00e05508 (patch) | |
tree | d051691301ec94df2a4ccf4b9c3ef827d96c6b5d /src/charon/plugins/smp/smp.c | |
parent | 1adaa02bb2bcd72ad6d41b22719dba29fd7d57b7 (diff) | |
download | strongswan-a985db3ff330bf65b0b9dd16571c3a5c00e05508.tar.bz2 strongswan-a985db3ff330bf65b0b9dd16571c3a5c00e05508.tar.xz |
reintegrated bus-refactoring branch
Diffstat (limited to 'src/charon/plugins/smp/smp.c')
-rw-r--r-- | src/charon/plugins/smp/smp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charon/plugins/smp/smp.c b/src/charon/plugins/smp/smp.c index 6f90b7c16..d6b606cc2 100644 --- a/src/charon/plugins/smp/smp.c +++ b/src/charon/plugins/smp/smp.c @@ -359,15 +359,15 @@ static void request_query_config(xmlTextReaderPtr reader, xmlTextWriterPtr write /** * callback which logs to a XML writer */ -static bool xml_callback(xmlTextWriterPtr writer, signal_t signal, level_t level, - ike_sa_t* ike_sa, void *data, char* format, va_list args) +static bool xml_callback(xmlTextWriterPtr writer, debug_t group, level_t level, + ike_sa_t* ike_sa, char* format, va_list args) { if (level <= 1) { /* <item> */ xmlTextWriterStartElement(writer, "item"); xmlTextWriterWriteFormatAttribute(writer, "level", "%d", level); - xmlTextWriterWriteFormatAttribute(writer, "source", "%N", signal_names, signal); + xmlTextWriterWriteFormatAttribute(writer, "source", "%N", debug_names, group); xmlTextWriterWriteFormatAttribute(writer, "thread", "%u", pthread_self()); xmlTextWriterWriteVFormatString(writer, format, args); xmlTextWriterEndElement(writer); |