From 67618125666b538ba0dd05749db3cb1013cc7ef7 Mon Sep 17 00:00:00 2001 From: "Michael L. Young" Date: Thu, 12 Jul 2012 14:38:44 +0000 Subject: Correct Documentation For DEC Function The documentation for DEC in func_math.c was incorrect. Looks like a copy and paste error. (Closes issue ASTERISK-20095) Reported by: Billy Chia Tested by: Michael L. Young Patches: func_math.patch uploaded by Billy Chia (license 6381) ........ Merged revisions 369970 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 369971 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369974 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- funcs/func_math.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'funcs/func_math.c') diff --git a/funcs/func_math.c b/funcs/func_math.c index e745c4733..e27057c57 100644 --- a/funcs/func_math.c +++ b/funcs/func_math.c @@ -103,8 +103,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Decrements the value of a variable, while returning the updated value to the dialplan - Example: DEC(MyVAR) - Increments MyVar - Note: DEC(${MyVAR}) - Is wrong, as INC expects the variable name, not its value + Example: DEC(MyVAR) - Decrements MyVar + Note: DEC(${MyVAR}) - Is wrong, as DEC expects the variable name, not its value ***/ -- cgit v1.2.3