]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix freebsd build
authorMichael Jerris <mike@jerris.com>
Thu, 29 Mar 2007 12:41:13 +0000 (12:41 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 29 Mar 2007 12:41:13 +0000 (12:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4790 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_spidermonkey/mod_spidermonkey.c

index cc0dc62b6f5f0dc8bbf907121e3b8002ffd93a3c..fbb11aca9b2d4bbe95355cd57ea153dda1ed6dc3 100644 (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);