Another typo!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-07-01 20:29:53 +00:00
parent a0f9b1a2ed
commit 20af2eb571

2
pbx.c
View File

@@ -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,')')) {