aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-01 20:29:53 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-01 20:29:53 +0000
commit847acb197d1055932ff1184c17ccef8b91fd09c8 (patch)
tree853b7195d97ca4907f852e2124aa6768941abc11 /pbx.c
parent55dc42fc45fb32b4d55de2599bd0eb7baf2a997b (diff)
Another typo!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1152 f38db490-d61c-443f-a65b-d21fe96a405b
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 00de3ae90..6b2a2fb94 100755
--- a/pbx.c
+++ b/pbx.c
@@ -888,7 +888,7 @@ static void pbx_substitute_variables_temp(struct ast_channel *c,const char *var,
}
}
}
- if (!(*ret) && !strcasecmp(var,"LEN(",4)) {
+ if (!(*ret) && !strncasecmp(var,"LEN(",4)) {
int len=strlen(var);
int len_len=4;
if (len > (len_len+1) && !strncasecmp(var,"LEN(",len_len) && strchr(var+len_len+2,')')) {