summaryrefslogtreecommitdiff
path: root/pbx.c
diff options
context:
space:
mode:
authorJames Golovich <james@gnuinter.net>2004-04-18 05:50:55 +0000
committerJames Golovich <james@gnuinter.net>2004-04-18 05:50:55 +0000
commit295ce9fc8d3e84880f93d8a7bd3101d5963c1474 (patch)
treee6f1c96537568e30eef269b93bf9d838e1d3ead0 /pbx.c
parente7f819bed18d038ed2779548e6376710a6622626 (diff)
Make extension matching non case sensitive. So 'T' and 't' are
different extensions (bug 1327) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index cb7c6446b..e78fc2afb 100755
--- a/pbx.c
+++ b/pbx.c
@@ -3682,7 +3682,7 @@ int ast_add_extension2(struct ast_context *con,
}
e = con->root;
while(e) {
- res= strcasecmp(e->exten, extension);
+ res= strcmp(e->exten, extension);
if (!res) {
if (!e->matchcid && !tmp->matchcid)
res = 0;