Module: sip-router
Branch: master
Commit: 56e0b7d4127525250a885815e26f8d05f8281d30
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=56e0b7d…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Thu Oct 8 16:12:52 2009 +0200
memcached(sr): fix docs for value deletion
---
modules_k/memcached/README | 4 ++--
modules_k/memcached/doc/memcached_admin.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules_k/memcached/README b/modules_k/memcached/README
index 0e432c0..46b4d16 100644
--- a/modules_k/memcached/README
+++ b/modules_k/memcached/README
@@ -85,8 +85,8 @@ Chapter 1. Admin Guide
...
$mct(test) = 1;
xlog("stored value is $mct(test)");
-$mct(test) = null; # delete it
-xlog("stored value is $mct(test)"); # will return <null>
+$mct(test) = $null; # delete it
+xlog("stored value is $mct(test)"); # will return <null> or empty string
...
Example 1.2. Using atomic operations
diff --git a/modules_k/memcached/doc/memcached_admin.xml
b/modules_k/memcached/doc/memcached_admin.xml
index 17e9aac..dd77070 100644
--- a/modules_k/memcached/doc/memcached_admin.xml
+++ b/modules_k/memcached/doc/memcached_admin.xml
@@ -30,8 +30,8 @@
...
$mct(test) = 1;
xlog("stored value is $mct(test)");
-$mct(test) = null; # delete it
-xlog("stored value is $mct(test)"); # will return <null>
+$mct(test) = $null; # delete it
+xlog("stored value is $mct(test)"); # will return <null> or empty
string
...
</programlisting>
</example>