]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
func_strings: Documentation fix for QUOTE()
authorRusty Newton <rnewton@digium.com>
Wed, 18 Dec 2013 00:27:01 +0000 (00:27 +0000)
committerRusty Newton <rnewton@digium.com>
Wed, 18 Dec 2013 00:27:01 +0000 (00:27 +0000)
Example output was inaccurate.

(issue ASTERISK-22970)
(closes issue ASTERISK-22970)
Reported by: Gareth Palmer
Patches:
   func_strings.patch uploaded by Gareth Palmer (license 5169)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@404081 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_strings.c

index c089c2318ac518bb00700fa83b2187e90d5cc584..9fa0d73ad995ed0a6c9b43e36a5cd4762cd6c8d6 100644 (file)
@@ -335,7 +335,7 @@ AST_THREADSTORAGE(tmp_buf);
                        <parameter name="string" required="true" />
                </syntax>
                <description>
-                       <para>Example: ${QUOTE(ab"c"de)} will return "abcde"</para>
+                       <para>Example: ${QUOTE(ab"c"de)} will return ""ab\"c\"de""</para>
                </description>
        </function>
        <function name="CSV_QUOTE" language="en_US">