From e4dd67c6ccb876e1265c3ca5da2a6c07f490fac0 Mon Sep 17 00:00:00 2001
From: Brian West <brian@freeswitch.org>
Date: Tue, 26 Aug 2008 16:13:25 +0000
Subject: [PATCH] Switch_true

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9367 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 src/mod/applications/mod_voicemail/mod_voicemail.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c
index 325a92d255..9fbc59eef5 100644
--- a/src/mod/applications/mod_voicemail/mod_voicemail.c
+++ b/src/mod/applications/mod_voicemail/mod_voicemail.c
@@ -1870,7 +1870,7 @@ static void deliver_vm(vm_profile_t *profile,
 			send_main = switch_true(val);
 			send_mail++;
 		} else if (!strcasecmp(var, "vm-notify-email-all-messages")) {
-			send_notify = witch_true(val);
+			send_notify = switch_true(val);
 			send_mail++;
 		} else if (!strcasecmp(var, "vm-keep-local-after-email")) {
 			insert_db = switch_true(val);