[sr-dev] git:4.2: ndb_mongodb: fixed c&p typo for section id
Daniel-Constantin Mierla
miconda at gmail.com
Thu Oct 16 00:32:13 CEST 2014
Module: sip-router
Branch: 4.2
Commit: 5b7315b7c68aa5fe09cd91db0f85a7fd80d648ec
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5b7315b7c68aa5fe09cd91db0f85a7fd80d648ec
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: Tue Oct 14 16:13:43 2014 +0200
ndb_mongodb: fixed c&p typo for section id
(cherry picked from commit bd4233e1441b903e9893779962b681dbfc493a3b)
---
modules/ndb_mongodb/README | 12 ++++++------
modules/ndb_mongodb/doc/ndb_mongodb_admin.xml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/modules/ndb_mongodb/README b/modules/ndb_mongodb/README
index 396d6ba..314164d 100644
--- a/modules/ndb_mongodb/README
+++ b/modules/ndb_mongodb/README
@@ -10,7 +10,7 @@ Daniel-Constantin Mierla
<miconda at gmail.com>
- 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.
diff --git a/modules/ndb_mongodb/doc/ndb_mongodb_admin.xml b/modules/ndb_mongodb/doc/ndb_mongodb_admin.xml
index 59ee71a..c5971ed 100644
--- a/modules/ndb_mongodb/doc/ndb_mongodb_admin.xml
+++ b/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
More information about the sr-dev
mailing list