mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-17 12:17:00 +00:00
fix msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4478 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5e2d7dfc12
commit
cc0ea39446
@ -695,7 +695,7 @@ static void set_local_sdp(private_object_t *tech_pvt, char *ip, uint32_t port, c
|
|||||||
char buf[2048];
|
char buf[2048];
|
||||||
switch_time_t now = switch_time_now();
|
switch_time_t now = switch_time_now();
|
||||||
int ptime = 0;
|
int ptime = 0;
|
||||||
int rate;
|
int rate = 0;
|
||||||
|
|
||||||
if (!force && !ip && !sr && switch_test_flag(tech_pvt, TFLAG_NOMEDIA)) {
|
if (!force && !ip && !sr && switch_test_flag(tech_pvt, TFLAG_NOMEDIA)) {
|
||||||
return;
|
return;
|
||||||
|
@ -81,7 +81,7 @@ int eval_some_js(char *code, JSContext *cx, JSObject *obj, jsval *rval)
|
|||||||
JSScript *script = NULL;
|
JSScript *script = NULL;
|
||||||
char *cptr;
|
char *cptr;
|
||||||
char *path = NULL;
|
char *path = NULL;
|
||||||
char *script_name;
|
char *script_name = NULL;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
JS_ClearPendingException(cx);
|
JS_ClearPendingException(cx);
|
||||||
|
@ -228,7 +228,6 @@ static xmlrpc_value *freeswitch_man(xmlrpc_env *const envP, xmlrpc_value *const
|
|||||||
char *oid, *relative_oid, *s_action, *data;
|
char *oid, *relative_oid, *s_action, *data;
|
||||||
char buf[SWITCH_MAX_MANAGEMENT_BUFFER_LEN] = "";
|
char buf[SWITCH_MAX_MANAGEMENT_BUFFER_LEN] = "";
|
||||||
switch_management_action_t action = SMA_NONE;
|
switch_management_action_t action = SMA_NONE;
|
||||||
switch_stream_handle_t stream = {0};
|
|
||||||
xmlrpc_value *val;
|
xmlrpc_value *val;
|
||||||
|
|
||||||
/* Parse our argument array. */
|
/* Parse our argument array. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user