diff options
author | FuGangqiang <fu_gangqiang@163.com> | 2015-04-20 21:46:48 +0800 |
---|---|---|
committer | FuGangqiang <fu_gangqiang@163.com> | 2015-04-20 21:46:48 +0800 |
commit | 239494db645c6ed87e605cc4b0a10db78b50e5cd (patch) | |
tree | 51842b40b8c6feecad1be0d771ebe8ea5e4be9a8 /src/sds.c | |
parent | 42b36c5ce9071ebdfd5580fa0499a7bf354f1841 (diff) | |
download | redis-239494db645c6ed87e605cc4b0a10db78b50e5cd.tar.gz |
fix doc example
Diffstat (limited to 'src/sds.c')
-rw-r--r-- | src/sds.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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". |