]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 369971 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Thu, 12 Jul 2012 15:24:34 +0000 (15:24 +0000)
committerAutomerge script <automerge@asterisk.org>
Thu, 12 Jul 2012 15:24:34 +0000 (15:24 +0000)
file:///srv/subversion/repos/asterisk/branches/10

................
  r369971 | elguero | 2012-07-12 09:25:45 -0500 (Thu, 12 Jul 2012) | 14 lines

  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/branches/10-digiumphones@369992 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_math.c

index e745c4733ff22716e9c0f180b19fa66419b30869..e27057c57e90cd31f3d4fd86dbc32174215ee919 100644 (file)
@@ -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>
  ***/