]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix bsd build
authorMichael Jerris <mike@jerris.com>
Mon, 28 May 2007 05:04:28 +0000 (05:04 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 28 May 2007 05:04:28 +0000 (05:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5225 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_spidermonkey/mod_spidermonkey.c

index 03251d56b87b6e76951967ab2b524cb65c16f1ec..221b548c87e8f3dd86abed6a24f6bcc800c58eaa 100644 (file)
@@ -201,7 +201,7 @@ static JSBool request_dump_env(JSContext *cx, JSObject *obj, uintN argc, jsval *
        if (!strcasecmp(how, "xml")) {
                switch_xml_t xml;
                char *xmlstr;
-               if ((xml = switch_event_xmlize(ro->stream->event, NULL))) {
+               if ((xml = switch_event_xmlize(ro->stream->event, SWITCH_VA_NONE))) {
             xmlstr = switch_xml_toxml(xml);
                        *rval = STRING_TO_JSVAL(JS_NewStringCopyZ(cx, xmlstr));
                        return JS_TRUE;