]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix indents to tabs in previous commit
authorMike Murdock <mmurdock@coppercom.com>
Mon, 19 Feb 2007 17:00:29 +0000 (17:00 +0000)
committerMike Murdock <mmurdock@coppercom.com>
Mon, 19 Feb 2007 17:00:29 +0000 (17:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4326 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr.c

index 7d9d795406130c3d30114a5fd8e218f5d4d652c7..e2ab69e72a2279890d62e5ea2acf06240a96f550 100644 (file)
@@ -4406,10 +4406,11 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_menu_execute(switch_core_session_t *s
                if (!match) {
                        if (*menu->buf) {
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "IVR menu '%s' caught invalid input '%s'\n", menu->name, menu->buf);
-                if (menu->invalid_sound) {
-                    play_or_say(session, menu, menu->invalid_sound, 0);
-                }
-                       } else {
+                               if (menu->invalid_sound) {
+                                       play_or_say(session, menu, menu->invalid_sound, 0);
+                               }
+                       }
+                       else {
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "IVR menu '%s' no input detected\n", menu->name);
                        }
                        errs++;