From d5a7d2e170f6dc6a7f4cdf35b4665383e9d2a9fb Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 22 May 2006 14:34:34 +0000 Subject: [PATCH] Bug 7196 - month range did not work git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29394 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbx.c b/pbx.c index 7cd94e6d2d..3e0c417243 100644 --- a/pbx.c +++ b/pbx.c @@ -4064,7 +4064,7 @@ static unsigned int get_month(char *mon) } 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;