projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a0f9b1a
)
Another typo!
author
Martin Pycko
<martinp@digium.com>
Tue, 1 Jul 2003 20:29:53 +0000
(20:29 +0000)
committer
Martin Pycko
<martinp@digium.com>
Tue, 1 Jul 2003 20:29:53 +0000
(20:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1152
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
pbx.c
patch
|
blob
|
history
diff --git
a/pbx.c
b/pbx.c
index
00de3ae
..
6b2a2fb
100755
(executable)
--- 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,')')) {