[asterisk-commits] elguero: branch 1.8 r369970 - /branches/1.8/funcs/func_math.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 12 09:23:56 CDT 2012


Author: elguero
Date: Thu Jul 12 09:23:50 2012
New Revision: 369970

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369970
Log:
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)

Modified:
    branches/1.8/funcs/func_math.c

Modified: branches/1.8/funcs/func_math.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/funcs/func_math.c?view=diff&rev=369970&r1=369969&r2=369970
==============================================================================
--- branches/1.8/funcs/func_math.c (original)
+++ branches/1.8/funcs/func_math.c Thu Jul 12 09:23:50 2012
@@ -103,8 +103,8 @@
 		</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>
  ***/




More information about the asterisk-commits mailing list