[svn-commits] elguero: branch 10 r369971 - in /branches/10: ./ funcs/func_math.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 12 09:25:49 CDT 2012


Author: elguero
Date: Thu Jul 12 09:25:45 2012
New Revision: 369971

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

Merged revisions 369970 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/funcs/func_math.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/funcs/func_math.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/funcs/func_math.c?view=diff&rev=369971&r1=369970&r2=369971
==============================================================================
--- branches/10/funcs/func_math.c (original)
+++ branches/10/funcs/func_math.c Thu Jul 12 09:25:45 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 svn-commits mailing list