提交 5884f348 authored 作者: Michael Jerris's avatar Michael Jerris

fix windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5944 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 50239fd4
...@@ -417,9 +417,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(const char *console, switch_cor ...@@ -417,9 +417,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(const char *console, switch_cor
{ {
switch_xml_t xml = NULL, cfg = NULL; switch_xml_t xml = NULL, cfg = NULL;
switch_uuid_t uuid; switch_uuid_t uuid;
memset(&runtime, 0, sizeof(runtime));
char guess_ip[256]; char guess_ip[256];
memset(&runtime, 0, sizeof(runtime));
switch_set_flag((&runtime), SCF_NO_NEW_SESSIONS); switch_set_flag((&runtime), SCF_NO_NEW_SESSIONS);
runtime.hard_log_level = SWITCH_LOG_DEBUG; runtime.hard_log_level = SWITCH_LOG_DEBUG;
......
...@@ -1208,7 +1208,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text_handle(switch_core_session ...@@ -1208,7 +1208,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text_handle(switch_core_session
switch_status_t status = SWITCH_STATUS_SUCCESS; switch_status_t status = SWITCH_STATUS_SUCCESS;
switch_speech_flag_t flags = SWITCH_SPEECH_FLAG_NONE; switch_speech_flag_t flags = SWITCH_SPEECH_FLAG_NONE;
uint32_t rate = 0; uint32_t rate = 0;
int extra = 0; switch_size_t extra = 0;
char *p, *tmp = NULL; char *p, *tmp = NULL;
char *star, *pound; char *star, *pound;
switch_size_t starlen, poundlen; switch_size_t starlen, poundlen;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论