[asterisk-commits] murf: branch 1.4 r45143 -
/branches/1.4/funcs/func_rand.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Oct 13 21:38:16 MST 2006
Author: murf
Date: Fri Oct 13 23:38:15 2006
New Revision: 45143
URL: http://svn.digium.com/view/asterisk?rev=45143&view=rev
Log:
update the doc string for both AEL and extensions.conf users.
Modified:
branches/1.4/funcs/func_rand.c
Modified: branches/1.4/funcs/func_rand.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/funcs/func_rand.c?rev=45143&r1=45142&r2=45143&view=diff
==============================================================================
--- branches/1.4/funcs/func_rand.c (original)
+++ branches/1.4/funcs/func_rand.c Fri Oct 13 23:38:15 2006
@@ -80,11 +80,11 @@
static struct ast_custom_function acf_rand = {
.name = "RAND",
.synopsis = "Choose a random number in a range",
- .syntax = "RAND([min][,max])",
+ .syntax = "RAND([min][|max])",
.desc =
"Choose a random number between min and max. Min defaults to 0, if not\n"
"specified, while max defaults to RAND_MAX (2147483647 on many systems).\n"
- " Example: Set(junky=${RAND(1,8)}); \n"
+ " Example: Set(junky=${RAND(1|8)}); \n"
" Sets junky to a random number between 1 and 8, inclusive.\n",
.read = acf_rand_exec,
};
More information about the asterisk-commits
mailing list