提交 4e33ce05 authored 作者: Anthony Minessale's avatar Anthony Minessale

add memset to prevent race

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6053 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 2afe124f
...@@ -1651,11 +1651,13 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, char ...@@ -1651,11 +1651,13 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, char
} }
} }
if (!switch_strlen_zero(buf)) {
if (!strcasecmp(buf, profile->main_menu_key)) { if (!strcasecmp(buf, profile->main_menu_key)) {
voicemail_check_main(session, profile_name, domain_name, id, 0); voicemail_check_main(session, profile_name, domain_name, id, 0);
} else { } else {
goto greet; goto greet;
} }
}
memset(&fh, 0, sizeof(fh)); memset(&fh, 0, sizeof(fh));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论