dect
/
asterisk
Archived
13
0
Fork 0

Fix a typo

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1151 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
martinp 2003-07-01 20:29:12 +00:00
parent c37e80af82
commit 55dc42fc45
1 changed files with 1 additions and 1 deletions

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) && !strcasecmp(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,')')) {