summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorMichael L. Young <elgueromexicano@gmail.com>2012-07-12 14:27:56 +0000
committerMichael L. Young <elgueromexicano@gmail.com>2012-07-12 14:27:56 +0000
commita8c12c6e67af4645e804b704b630e0668ce84781 (patch)
treec03be0dbade272a6c4f4e06c1df3d0dda661b299 /funcs
parent10afdf3a2abd7e45d5c1841b29744de5b852d722 (diff)
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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_math.c4
1 files changed, 2 insertions, 2 deletions
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$")
</syntax>
<description>
<para>Decrements the value of a variable, while returning the updated value to the dialplan</para>
- <para>Example: DEC(MyVAR) - Increments MyVar</para>
- <para>Note: DEC(${MyVAR}) - Is wrong, as INC expects the variable name, not its value</para>
+ <para>Example: DEC(MyVAR) - Decrements MyVar</para>
+ <para>Note: DEC(${MyVAR}) - Is wrong, as DEC expects the variable name, not its value</para>
</description>
</function>
***/