summaryrefslogtreecommitdiff
path: root/src/sds.c
diff options
context:
space:
mode:
authorFuGangqiang <fu_gangqiang@163.com>2015-04-20 21:46:48 +0800
committerFuGangqiang <fu_gangqiang@163.com>2015-04-20 21:46:48 +0800
commit239494db645c6ed87e605cc4b0a10db78b50e5cd (patch)
tree51842b40b8c6feecad1be0d771ebe8ea5e4be9a8 /src/sds.c
parent42b36c5ce9071ebdfd5580fa0499a7bf354f1841 (diff)
downloadredis-239494db645c6ed87e605cc4b0a10db78b50e5cd.tar.gz
fix doc example
Diffstat (limited to 'src/sds.c')
-rw-r--r--src/sds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sds.c b/src/sds.c
index 7c2d00ed9..5c7cdcb12 100644
--- a/src/sds.c
+++ b/src/sds.c
@@ -557,7 +557,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
* Example:
*
* s = sdsnew("AA...AA.a.aa.aHelloWorld :::");
- * s = sdstrim(s,"A. :");
+ * s = sdstrim(s,"Aa. :");
* printf("%s\n", s);
*
* Output will be just "Hello World".