projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91e2afe
)
Spotted this bug today myself, trying to reproduce a BE bug. Use a vert bar instead...
author
Steve Murphy
<murf@digium.com>
Tue, 17 Jul 2007 21:52:51 +0000
(21:52 +0000)
committer
Steve Murphy
<murf@digium.com>
Tue, 17 Jul 2007 21:52:51 +0000
(21:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75505
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
pbx/pbx_ael.c
patch
|
blob
|
history
diff --git
a/pbx/pbx_ael.c
b/pbx/pbx_ael.c
index
243193e
..
6426636
100644
(file)
--- a/
pbx/pbx_ael.c
+++ b/
pbx/pbx_ael.c
@@
-3597,7
+3597,7
@@
static void gen_prios(struct ael_extension *exten, char *label, pval *statement,
if_test->type = AEL_IF_CONTROL;
if_end->type = AEL_APPCALL;
if ( p->type == PV_RANDOM )
- snprintf(buf1,sizeof(buf1),"$[${RAND(0,99)} < (%s)]",p->u1.str);
+ snprintf(buf1,sizeof(buf1),"$[${RAND(0|99)} < (%s)]",p->u1.str);
else
snprintf(buf1,sizeof(buf1),"$[%s]",p->u1.str);
if_test->app = 0;