]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
func_strings: Fix misspelling of "occurred" in FIELDNUM documentation. master
authoraabolfazl <aabolfazlit@gmail.com>
Wed, 29 Jul 2026 17:44:33 +0000 (20:44 +0300)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fri, 31 Jul 2026 15:14:53 +0000 (15:14 +0000)
The FIELDNUM description misspelled "occurred" as "occured". This text
is user-visible: it is rendered on docs.asterisk.org and printed by
"core show function FIELDNUM".

funcs/func_strings.c

index d184d4b3cdd0f190d788bfb076f38be7c4227d76..69fbbd92ea21eaffc8e6371ac99198dc439ed917 100644 (file)
@@ -86,7 +86,7 @@ AST_THREADSTORAGE(tmp_buf);
                <description>
                        <para>Search the variable named <replaceable>varname</replaceable> for the string <replaceable>value</replaceable>
                        delimited by <replaceable>delim</replaceable> and return a 1-based offset as to its location. If not found
-                       or an error occured, return <literal>0</literal>.</para>
+                       or an error occurred, return <literal>0</literal>.</para>
                        <para>The delimiter may be specified as a special or extended ASCII character, by encoding it.  The characters
                        <literal>\n</literal>, <literal>\r</literal>, and <literal>\t</literal> are all recognized as the newline,
                        carriage return, and tab characters, respectively.  Also, octal and hexadecimal specifications are recognized