[Freeswitch-svn] [commit] r9348 - freeswitch/trunk/src/mod/applications/mod_voicemail

Freeswitch SVN brian at freeswitch.org
Fri Aug 22 13:05:11 EDT 2008


Author: brian
Date: Fri Aug 22 13:05:11 2008
New Revision: 9348

Modified:
   freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c

Log:
fix voicemail menu

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	Fri Aug 22 13:05:11 2008
@@ -215,7 +215,7 @@
 	"   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 @@
 				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;



More information about the Freeswitch-svn mailing list