提交 f982e9ad authored 作者: Brian West's avatar Brian West

fix voicemail menu

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9348 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 7ffcb0e6
......@@ -215,7 +215,7 @@ static char vm_pref_sql[] =
" username VARCHAR(255),\n"
" domain VARCHAR(255),\n"
" name_path VARCHAR(255),\n"
" greeting_path VARCHAR(255)\n"
" greeting_path VARCHAR(255),\n"
" password VARCHAR(255)\n"
");\n";
......@@ -1621,7 +1621,7 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro
char input[10] = "";
char key_buf[80] = "";
play_msg_type = MSG_NONE;
if ((*global_buf =! '\0')) {
if (!switch_strlen_zero(global_buf)) {
switch_set_string(input, global_buf);
*global_buf = '\0';
status = SWITCH_STATUS_SUCCESS;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论