浏览代码

tls: doc: fix low_mem_treshold* name in examples

The tls examples used low_memory_threshold[12] instead of
low_mem_treshold[12].

Reported-by: Jan Janak  <[email protected]>
Andrei Pelinescu-Onciul 15 年之前
父节点
当前提交
915a005209
共有 2 个文件被更改,包括 8 次插入8 次删除
  1. 4 4
      modules/tls/README
  2. 4 4
      modules/tls/doc/params.xml

+ 4 - 4
modules/tls/README

@@ -473,9 +473,9 @@ modparam("tls", "tls_log", 10)
 
    See also low_mem_threshold2.
 
-   Example 15. Set low_memory_threshold1 parameter
+   Example 15. Set low_mem_threshold1 parameter
 ...
-modparam("tls", "low_memory_threshold1", -1)
+modparam("tls", "low_mem_threshold1", -1)
 ...
 
 1.8.15. low_mem_threshold2 (integer)
@@ -499,9 +499,9 @@ modparam("tls", "low_memory_threshold1", -1)
 
    See also low_mem_threshold1.
 
-   Example 16. Set low_memory_threshold2 parameter
+   Example 16. Set low_mem_threshold2 parameter
 ...
-modparam("tls", "low_memory_threshold2", -1)
+modparam("tls", "low_mem_threshold2", -1)
 ...
 
 1.8.16. tls_force_run (boolean)

+ 4 - 4
modules/tls/doc/params.xml

@@ -322,10 +322,10 @@ modparam("tls", "tls_log", 10)
 		See also <varname>low_mem_threshold2</varname>.
 	</para>
 	<example>
-		<title>Set <varname>low_memory_threshold1</varname> parameter</title>
+		<title>Set <varname>low_mem_threshold1</varname> parameter</title>
 		<programlisting>
 ...
-modparam("tls", "low_memory_threshold1", -1)
+modparam("tls", "low_mem_threshold1", -1)
 ...
 	</programlisting>
 	</example>
@@ -361,10 +361,10 @@ modparam("tls", "low_memory_threshold1", -1)
 		See also <varname>low_mem_threshold1</varname>.
 	</para>
 	<example>
-		<title>Set <varname>low_memory_threshold2</varname> parameter</title>
+		<title>Set <varname>low_mem_threshold2</varname> parameter</title>
 		<programlisting>
 ...
-modparam("tls", "low_memory_threshold2", -1)
+modparam("tls", "low_mem_threshold2", -1)
 ...
 	</programlisting>
 	</example>