aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-01 20:29:12 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-01 20:29:12 +0000
commit55dc42fc45fb32b4d55de2599bd0eb7baf2a997b (patch)
treed4137df2551a7375644a52747c6d01820bdf293e /pbx.c
parentc37e80af824289f86398a383c1ef5e730c3a5cb5 (diff)
Fix a typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1151 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 2cee92510..00de3ae90 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) && !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,')')) {