[Freeswitch-svn] [commit] r4478 - in freeswitch/trunk/src/mod: endpoints/mod_sofia languages/mod_spidermonkey xml_int/mod_xml_rpc

Freeswitch SVN mikej at freeswitch.org
Wed Mar 7 21:31:34 EST 2007


Author: mikej
Date: Wed Mar  7 21:31:34 2007
New Revision: 4478

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.h
   freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c

Log:
fix msvc build.

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Wed Mar  7 21:31:34 2007
@@ -695,7 +695,7 @@
 	char buf[2048];
 	switch_time_t now = switch_time_now();
     int ptime = 0;
-	int rate;
+	int rate = 0;
 
 	if (!force && !ip && !sr && switch_test_flag(tech_pvt, TFLAG_NOMEDIA)) {
 		return;

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.h
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.h	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.h	Wed Mar  7 21:31:34 2007
@@ -81,7 +81,7 @@
 	JSScript *script = NULL;
 	char *cptr;
 	char *path = NULL;
-	char *script_name;
+	char *script_name = NULL;
 	int result = 0;
 
 	JS_ClearPendingException(cx);

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c	Wed Mar  7 21:31:34 2007
@@ -228,7 +228,6 @@
 	char *oid, *relative_oid, *s_action, *data;
 	char buf[SWITCH_MAX_MANAGEMENT_BUFFER_LEN] = "";
 	switch_management_action_t action = SMA_NONE;
-	switch_stream_handle_t stream = {0};
 	xmlrpc_value *val;
 
     /* Parse our argument array. */



More information about the Freeswitch-svn mailing list