]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix build on newer gcc with pickier warnings
authorMichael Jerris <mike@jerris.com>
Thu, 21 Aug 2008 02:40:59 +0000 (02:40 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 21 Aug 2008 02:40:59 +0000 (02:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9341 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_voicemail/mod_voicemail.c

index f250466ca96f961649fc4e29f7ce108f67de6c06..7e6496b288f0170c183703c6fa3df69af729dbad 100644 (file)
@@ -1403,7 +1403,7 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro
                                        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 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro
                                        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 @@ 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 ((*global_buf =! '\0')) {
                                        switch_set_string(input, global_buf);
                                        *global_buf = '\0';
                                        status = SWITCH_STATUS_SUCCESS;