Răsfoiți Sursa

doc: fix spelling errors catched by lintian #688

Victor Seva 9 ani în urmă
părinte
comite
21c708b5e1

+ 1 - 1
doc/cfg_list/cfg_tcp.txt

@@ -130,7 +130,7 @@ Configuration Variables for tcp
         Type: integer.
 
 24. tcp.accept_no_cl
-        accept TCP messges without Content-Length .
+        accept TCP messages without Content-Length .
         Range: 0 - 1.
         Type: integer.
 

+ 1 - 1
doc/cfg_list/docbook/cfg_tcp.xml

@@ -265,7 +265,7 @@
 <section id="tcp.accept_no_cl">
     <title>tcp.accept_no_cl</title>
     <para>
-        accept TCP messges without Content-Lenght .
+        accept TCP messages without Content-Lenght .
     </para>
     <para>Range: 0 - 1.</para>
     <para>Type: integer.</para>

+ 1 - 1
doc/serdev/modiface.xml

@@ -190,7 +190,7 @@ typedef int (*cmd_function)(struct sip_msg*, char*, char*);
 		</simpara>
 		<simpara>
 		    Fixup function can be used to convert the string back to
-		    integer. Such a conversion should happend only once because
+		    integer. Such a conversion should happened only once because
 		    the string parameter doesn't change when the server is
 		    running. Fixup is therefore ideal place for the conversion,
 		    it will be converted upon the server startup before the

+ 1 - 1
doc/serdev/select_module.xml

@@ -59,7 +59,7 @@ int <function>select_function_name</function>(str* res, struct select *s, struct
 	that, set param_type to SEL_PARAM_DATA.
 </para>
 <para>
-	Result code of the function declares if the call was sucessful and if the result is
+	Result code of the function declares if the call was successful and if the result is
 	valid string or empty string.
 </para>
 <itemizedlist>

+ 2 - 2
doc/stylesheets/dbschema_k/xsl/modules_c.xsl

@@ -91,7 +91,7 @@
  * Initialises the DB API, check the table version and closes the connection.
  * This should be called from the mod_init function.
  *
- * \return 0 means ok, -1 means an error occured.
+ * \return 0 means ok, -1 means an error occurred.
  */
 </xsl:text>
 <xsl:value-of select="concat('int ', $prefix, '_db_init(void) {&#x0A;')"/>
@@ -149,7 +149,7 @@
  * This should be called from child_init. An already existing database
  * connection will be closed, and a new one created.
  *
- * \return 0 means ok, -1 means an error occured.
+ * \return 0 means ok, -1 means an error occurred.
  */
 </xsl:text>
 <xsl:value-of select="concat('int ', $prefix, '_db_open(void) {&#x0A;')"/>

+ 2 - 2
doc/stylesheets/dbschema_k/xsl/modules_h.xsl

@@ -102,7 +102,7 @@
  * Initialises the DB API, check the table version and closes the connection.
  * This should be called from the mod_init function.
  *
- * \return 0 means ok, -1 means an error occured.
+ * \return 0 means ok, -1 means an error occurred.
  */
 </xsl:text>
 <xsl:value-of select="concat('int ', $prefix, '_db_init(void);&#x0A;')"/>
@@ -113,7 +113,7 @@
  * This should be called from child_init. An already existing database
  * connection will be closed, and a new one created.
  *
- * \return 0 means ok, -1 means an error occured.
+ * \return 0 means ok, -1 means an error occurred.
  */
 </xsl:text>
 <xsl:value-of select="concat('int ', $prefix, '_db_open(void);&#x0A;')"/>