summaryrefslogtreecommitdiff
path: root/src/sds.c
diff options
context:
space:
mode:
authorguiquanz <nantangguyun@gmail.com>2013-01-17 01:00:20 +0800
committerantirez <antirez@gmail.com>2013-01-19 10:59:44 +0100
commit9d09ce3981deb58282ae47c87e1080936f04991f (patch)
treefe509226486b33679d202c457b50c2ac99621a9d /src/sds.c
parent61dfc2e5217361b21258ae0cc408e9b719c8565e (diff)
downloadredis-9d09ce3981deb58282ae47c87e1080936f04991f.tar.gz
Fixed many typos.
Diffstat (limited to 'src/sds.c')
-rw-r--r--src/sds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sds.c b/src/sds.c
index e8491acfa..85858a4f0 100644
--- a/src/sds.c
+++ b/src/sds.c
@@ -141,7 +141,7 @@ size_t sdsAllocSize(sds s) {
* right-trim the string.
*
* Using sdsIncrLen() and sdsMakeRoomFor() it is possible to mount the
- * following schema to cat bytes coming from the kerenl to the end of an
+ * following schema to cat bytes coming from the kernel to the end of an
* sds string new things without copying into an intermediate buffer:
*
* oldlen = sdslen(s);
@@ -596,7 +596,7 @@ void sdssplitargs_free(sds *argv, int argc) {
}
/* Modify the string substituting all the occurrences of the set of
- * characters specifed in the 'from' string to the corresponding character
+ * characters specified in the 'from' string to the corresponding character
* in the 'to' array.
*
* For instance: sdsmapchars(mystring, "ho", "01", 2)