mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
fix freebsd build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4790 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
bc8a4855a6
commit
617d581d10
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user