[asterisk-commits] branch 1.2 r29394 - /branches/1.2/pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 22 07:34:35 MST 2006


Author: tilghman
Date: Mon May 22 09:34:34 2006
New Revision: 29394

URL: http://svn.digium.com/view/asterisk?rev=29394&view=rev
Log:
Bug 7196 - month range did not work

Modified:
    branches/1.2/pbx.c

Modified: branches/1.2/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/pbx.c?rev=29394&r1=29393&r2=29394&view=diff
==============================================================================
--- branches/1.2/pbx.c (original)
+++ branches/1.2/pbx.c Mon May 22 09:34:34 2006
@@ -4064,7 +4064,7 @@
 	}
 	if (c) {
 		e = 0;
-		while((e < 12) && strcasecmp(mon, months[e])) e++;
+		while((e < 12) && strcasecmp(c, months[e])) e++;
 		if (e >= 12) {
 			ast_log(LOG_WARNING, "Invalid month '%s', assuming none\n", c);
 			return 0;



More information about the asterisk-commits mailing list