aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-22 15:06:09 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-22 15:06:09 +0000
commit548c3a5ab96934b75f643b348d2c68b7e33fb6c9 (patch)
tree05ac4b70c15b1e2e144a1f5c372c5fb45b18fda3 /pbx.c
parentacca6194fe359f36ddd3e1eb76166c8e7248a311 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@29433 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;