[Asterisk-cvs] asterisk/apps app_voicemail2.c,1.49,1.50

markster at lists.digium.com markster at lists.digium.com
Fri Sep 19 12:51:43 CDT 2003


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv7729/apps

Modified Files:
	app_voicemail2.c 
Log Message:
Fix inverted if logic


Index: app_voicemail2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail2.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- app_voicemail2.c	19 Sep 2003 00:45:20 -0000	1.49
+++ app_voicemail2.c	19 Sep 2003 17:52:52 -0000	1.50
@@ -1954,7 +1954,7 @@
 
 	/* Can't think of how other diffs might be helpful, but I'm sure somebody will think of something. */
 #endif
-	if (! the_zone)
+	if (the_zone)
 		res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, the_zone->msg_format, the_zone->timezone);
 	else
 		res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, "'vm-received' q 'digits/at' IMp", NULL);




More information about the svn-commits mailing list