From b1e35d324404a5017cd925f701211692ed62d495 Mon Sep 17 00:00:00 2001 From: hdmg <438954+louiszhw@users.noreply.github.com> Date: Wed, 5 Dec 2018 17:15:02 +0800 Subject: [PATCH 1/2] fix comments fault discription --- src/sds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sds.c b/src/sds.c index 39ad595e..330c955e 100644 --- a/src/sds.c +++ b/src/sds.c @@ -695,7 +695,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) { * s = sdstrim(s,"Aa. :"); * printf("%s\n", s); * - * Output will be just "Hello World". + * Output will be just "HelloWorld". */ sds sdstrim(sds s, const char *cset) { char *start, *end, *sp, *ep; From 6aa9606995bc8ae55f01f7713bc9ed8dc88070f1 Mon Sep 17 00:00:00 2001 From: lsytj0413 <511121939@qq.com> Date: Tue, 29 Aug 2017 14:44:05 +0800 Subject: [PATCH 2/2] fix a typo: craeted -> created --- src/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.c b/src/db.c index d7233869..62c8aa13 100644 --- a/src/db.c +++ b/src/db.c @@ -212,7 +212,7 @@ void dbOverwrite(redisDb *db, robj *key, robj *val) { * 2) clients WATCHing for the destination key notified. * 3) The expire time of the key is reset (the key is made persistent). * - * All the new keys in the database should be creted via this interface. */ + * All the new keys in the database should be created via this interface. */ void setKey(redisDb *db, robj *key, robj *val) { if (lookupKeyWrite(db,key) == NULL) { dbAdd(db,key,val);