fix freebsd build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4790 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-03-29 12:41:13 +00:00
parent bc8a4855a6
commit 617d581d10
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ static JSBool event_serialize(JSContext *cx, JSObject *obj, uintN argc, jsval *a
if (isxml) {
switch_xml_t xml;
char *xmlstr;
if ((xml = switch_event_xmlize(eo->event, NULL))) {
if ((xml = switch_event_xmlize(eo->event, ""))) {
xmlstr = switch_xml_toxml(xml);
*rval = STRING_TO_JSVAL (JS_NewStringCopyZ(cx, xmlstr));
switch_xml_free(xml);