From ce81898c5d124b3dde5bfa09cd9c91bd549aac39 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 19 Mar 2007 00:41:23 +0000 Subject: [PATCH] null format string error git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4651 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/event_handlers/mod_event_socket/mod_event_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c index 3e1092da72..d4a74504a7 100644 --- a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c +++ b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c @@ -475,7 +475,7 @@ static switch_status_t read_packet(listener_t *listener, switch_event_t **event, switch_xml_t xml; etype = "xml"; - if ((xml = switch_event_xmlize(event, NULL))) { + if ((xml = switch_event_xmlize(event, "%s", ""))) { listener->ebuf = switch_xml_toxml(xml); switch_xml_free(xml); } else {