Pārlūkot izejas kodu

statsc: small updates to docs

Daniel-Constantin Mierla 8 gadi atpakaļ
vecāks
revīzija
24e09eeafc

+ 10 - 10
src/modules/statsc/doc/statsc_admin.xml

@@ -29,14 +29,14 @@
 		<title>&kamailio; Modules</title>
 		<para>
 		The following modules must be loaded along this module:
-			<itemizedlist>
-			<listitem>
-			<para>
-				<emphasis>various</emphasis> - for getting access
-				to the statistics exported by these modules.
-			</para>
-			</listitem>
-			</itemizedlist>
+		<itemizedlist>
+		<listitem>
+		<para>
+			<emphasis>various</emphasis> - (optional, e.g., sl, tm, usrloc)
+			for getting access to the statistics exported by these modules.
+		</para>
+		</listitem>
+		</itemizedlist>
 		</para>
 	</section>
 	<section>
@@ -60,7 +60,7 @@
 	<section id="statsc.p.interval">
 		<title><varname>interval</varname> (int)</title>
 		<para>
-			Timer interval when to record the value for statistics. 
+			Timer interval when to record the value for statistics.
 		</para>
 		<para>
 		<emphasis>
@@ -79,7 +79,7 @@ modparam("statsc", "interval", 300)
 	<section id="statsc.p.items">
 		<title><varname>items</varname> (int)</title>
 		<para>
-			How many items to store for each statistic. 
+			How many items to store for each statistic.
 		</para>
 		<para>
 		<emphasis>

+ 2 - 2
src/modules/statsc/statsc_mod.c

@@ -351,7 +351,7 @@ static void statsc_rpc_report(rpc_t* rpc, void* ctx)
 		rpc->fault(ctx, 500, "Missing command parameter");
 		return;
 	}
-	
+
 	if(cname.len==4 && strncmp(cname.s, "list", 4)==0) {
 		cmode = 1;
 	} else if(cname.len==4 && strncmp(cname.s, "diff", 4)==0) {
@@ -505,4 +505,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
 {
 	sr_kemi_modules_add(sr_kemi_statsc_exports);
 	return 0;
-}
+}