[asterisk-commits] murf: trunk r45142 - /trunk/funcs/func_rand.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Oct 13 21:36:22 MST 2006
Author: murf
Date: Fri Oct 13 23:36:21 2006
New Revision: 45142
URL: http://svn.digium.com/view/asterisk?rev=45142&view=rev
Log:
update the doc string for both AEL and extensions.conf users.
Modified:
trunk/funcs/func_rand.c
Modified: trunk/funcs/func_rand.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_rand.c?rev=45142&r1=45141&r2=45142&view=diff
==============================================================================
--- trunk/funcs/func_rand.c (original)
+++ trunk/funcs/func_rand.c Fri Oct 13 23:36:21 2006
@@ -83,11 +83,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