2
0
Эх сурвалжийг харах

ndb_mongodb: fixed c&p typo for section id

Daniel-Constantin Mierla 11 жил өмнө
parent
commit
bd4233e144

+ 6 - 6
modules/ndb_mongodb/README

@@ -10,7 +10,7 @@ Daniel-Constantin Mierla
 
    <[email protected]>
 
-   Copyright © 2014 asipto.com
+   Copyright © 2014 asipto.com
      __________________________________________________________________
 
    Table of Contents
@@ -125,7 +125,7 @@ modparam("ndb_mongodb", "server", "name=mgs2;uri='mongodb://127.0.0.2/kamailio'"
    4.4. mongodb_next(replyid)
    4.5. mongodb_free(replyid)
 
-4.1.  mongodb_cmd(srvname, dbname, cname, command, replyid)
+4.1. mongodb_cmd(srvname, dbname, cname, command, replyid)
 
    Send a valid command to MongoDB server identified by srvname. The reply
    will be stored in a local container identified by replyid. All the
@@ -157,7 +157,7 @@ if(mongodb_cmd("mgs1", "kamailio", "acc", "{ \"collStats\": \"acc\" }", "mgr1"))
 }
 ...
 
-4.2.  mongodb_cmd(srvname, dbname, cname, command, replyid)
+4.2. mongodb_cmd(srvname, dbname, cname, command, replyid)
 
    Send a valid command to MongoDB server identified by srvname. The reply
    will be stored in a local container identified by replyid. All the
@@ -183,7 +183,7 @@ mgr1")) {
 }
 ...
 
-4.3.  mongodb_find(srvname, dbname, cname, command, replyid)
+4.3. mongodb_find(srvname, dbname, cname, command, replyid)
 
    Send a find command to MongoDB server identified by srvname. The reply
    will be stored in a local container identified by replyid. All the
@@ -212,7 +212,7 @@ if(mongodb_find("mgs1", "kamailio", "acc", "{ \"src_user\" : \"111\" }", "mgr1")
 }
 ...
 
-4.4.  mongodb_next(replyid)
+4.4. mongodb_next(replyid)
 
    Moves to next document in a MongoDB reply. This function can be used
    after a succesful mongodb_cmd() or mongodb_find(). It returns true if
@@ -231,7 +231,7 @@ if(mongodb_find("mgs1", "kamailio", "acc", "{ \"src_user\" : \"111\" }", "mgr1")
 mongodb_free("mgr1");
 ...
 
-4.5.  mongodb_free(replyid)
+4.5. mongodb_free(replyid)
 
    Frees data in a previous reply from memory. After this function call,
    accessing to a freed replyid returns null value.

+ 1 - 1
modules/ndb_mongodb/doc/ndb_mongodb_admin.xml

@@ -59,7 +59,7 @@
 	</section>
 	<section>
 	<title>Parameters</title>
-	<section id="ndb_redis.p.server">
+	<section id="ndb_mongodb.p.server">
 		<title><varname>server</varname> (str)</title>
 		<para>
 			Specify the details to connect to REDIS server. It takes a list of