fix voicemail menu

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9348 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-08-22 17:05:11 +00:00
parent 7ffcb0e624
commit f982e9adde
1 changed files with 2 additions and 2 deletions

View File

@ -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;