From: Michael L. Young Date: Thu, 12 Jul 2012 14:23:50 +0000 (+0000) Subject: Correct Documentation For DEC Function X-Git-Tag: 1.8.16.0-rc1~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84081cf8e53435af88ce80806df7ccd57cdd5631;p=thirdparty%2Fasterisk.git 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@369970 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/funcs/func_math.c b/funcs/func_math.c index e745c4733f..e27057c57e 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 ***/