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

Freeswitch SVN mikej at freeswitch.org
Wed Aug 20 22:40:59 EDT 2008


Author: mikej
Date: Wed Aug 20 22:40:59 2008
New Revision: 9341

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

Log:
fix build on newer gcc with pickier warnings

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	Wed Aug 20 22:40:59 2008
@@ -1403,7 +1403,7 @@
 					switch_snprintf(msg_count, sizeof(msg_count), "%d:urgent-new", total_new_urgent_messages);
 					TRY_CODE(switch_ivr_phrase_macro(session, VM_MESSAGE_COUNT_MACRO, msg_count, NULL, &args));
 					informed++;
-					if (*global_buf =! '\0') {
+					if ((*global_buf =! '\0')) {
 						vm_check_state = VM_CHECK_MENU;
 						continue;
 					}
@@ -1412,7 +1412,7 @@
 					switch_snprintf(msg_count, sizeof(msg_count), "%d:new", total_new_messages);
 					TRY_CODE(switch_ivr_phrase_macro(session, VM_MESSAGE_COUNT_MACRO, msg_count, NULL, &args));
 					informed++;
-					if (*global_buf =! '\0') {
+					if ((*global_buf =! '\0')) {
 						vm_check_state = VM_CHECK_MENU;
 						continue;
 					}
@@ -1621,7 +1621,7 @@
 				char input[10] = "";
 				char key_buf[80] = "";
 				play_msg_type = MSG_NONE;
-				if (*global_buf =! '\0') {
+				if ((*global_buf =! '\0')) {
 					switch_set_string(input, global_buf);
 					*global_buf = '\0';
 					status = SWITCH_STATUS_SUCCESS;



More information about the Freeswitch-svn mailing list