Browse Source

tcpops: Fix typos in module documentation

Florian Floimair 7 years ago
parent
commit
986feaf4aa
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/modules/tcpops/doc/functions.xml

+ 3 - 3
src/modules/tcpops/doc/functions.xml

@@ -228,7 +228,7 @@ request_route {
                 <para>Meaning of the parameters is as follows:</para>
                 <para>Meaning of the parameters is as follows:</para>
                 <itemizedlist>
                 <itemizedlist>
                         <listitem>
                         <listitem>
-                                <para><emphasis>conid</emphasis> (optionnal): the &kamailio; internal
+                                <para><emphasis>conid</emphasis> (optional): the &kamailio; internal
                                 connection id. If no parameter
                                 connection id. If no parameter
                                 is given, it will be enabled on the current message source connection.
                                 is given, it will be enabled on the current message source connection.
                                 </para>
                                 </para>
@@ -271,7 +271,7 @@ event_route[tcp:closed] {
 		<itemizedlist>
 		<itemizedlist>
 			<listitem>
 			<listitem>
 				<para><emphasis>hostport</emphasis> - target "host:port" address,
 				<para><emphasis>hostport</emphasis> - target "host:port" address,
-				the port can be ommited (default to 5060) and the parameter can
+				the port can be omitted (default to 5060) and the parameter can
 				contain variables.
 				contain variables.
 				</para>
 				</para>
 			</listitem>
 			</listitem>
@@ -282,7 +282,7 @@ event_route[tcp:closed] {
 		</itemizedlist>
 		</itemizedlist>
 		<para>Return values:</para>
 		<para>Return values:</para>
 		<para>1: connection was found</para>
 		<para>1: connection was found</para>
-		<para>-1: connection was not found or an error occured</para>
+		<para>-1: connection was not found or an error occurred</para>
 		<example>
 		<example>
 			<title><function>tcp_get_conid</function> usage</title>
 			<title><function>tcp_get_conid</function> usage</title>
 			<programlisting><![CDATA[
 			<programlisting><![CDATA[