aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-22 14:34:34 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-22 14:34:34 +0000
commitb92e7eaf9af155026d270bc5fdce7de3a90f36c9 (patch)
tree0793fe2cce3a17caf4452de79123763befafa822 /pbx.c
parentb701e656fd2b06a4f54e74f62485b42ba5d6e7de (diff)
Bug 7196 - month range did not work
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@29394 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r--pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index 7cd94e6d2..3e0c41724 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;