Module: sip-router
Branch: master
Commit: acb0ae899ca7341f06fa4418c88f3b42d3460f49
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=acb0ae8…
Author: Vicente Hernando <vhernando(a)systemonenoc.com>
Committer: Vicente Hernando <vhernando(a)systemonenoc.com>
Date: Fri Jul 6 18:23:09 2012 +0200
ndb_redis: update README file
---
modules/ndb_redis/README | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/modules/ndb_redis/README b/modules/ndb_redis/README
index 7d72d58..b71d796 100644
--- a/modules/ndb_redis/README
+++ b/modules/ndb_redis/README
@@ -167,19 +167,18 @@ if(redis_cmd("srvN", "HMGET foo_key field1
field3", "r")) {
4.2. redis_free(replyid)
- Free a previous reply from memory. After this function call, accessing
- to a freed replyid returns null value.
+ Frees data in a previous reply from memory. After this function call,
+ accessing to a freed replyid returns null value.
It is not necessary to free a reply to use it again in a new redis_cmd
function. When ndb_redis module closes, all pending replies are freed
- automatically, so you only need to use this function if you perform a
- lot of redis command requests with different replyid.
+ automatically.
Example 1.3. redis_free usage
...
After a redis command call:
redis_cmd("srvN", "INCR cnt", "r");
-when reply not used anymore:
+free reply data:
redis_free("r");
...