]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
null format string error
authorMichael Jerris <mike@jerris.com>
Mon, 19 Mar 2007 00:41:23 +0000 (00:41 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 19 Mar 2007 00:41:23 +0000 (00:41 +0000)
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

index 3e1092da7255c44b9428312dbfe7cf5cb1a3d8bb..d4a74504a71a5ddbb7cbb716ea6aab841f85e58c 100644 (file)
@@ -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 {