diff options
author | antirez <antirez@gmail.com> | 2013-01-19 13:46:14 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-01-19 13:46:14 +0100 |
commit | e50cdbe461263db87f910ce963c3e6a222c91835 (patch) | |
tree | 3fecbcaf820a8873285ce485069c3cbce294fc0c | |
parent | 79a0ef62db890c007166a2c09d11691923236716 (diff) | |
download | redis-e50cdbe461263db87f910ce963c3e6a222c91835.tar.gz |
Additionally two typos fixed thanks to @jodal
-rw-r--r-- | src/networking.c | 2 | ||||
-rw-r--r-- | src/t_string.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/networking.c b/src/networking.c index f48d27c07..6e5d32489 100644 --- a/src/networking.c +++ b/src/networking.c @@ -941,7 +941,7 @@ int processMultibulkBuffer(redisClient *c) { /* Not enough data (+2 == trailing \r\n) */ break; } else { - /* Optimization: if the buffer containns JUST our bulk element + /* Optimization: if the buffer contains JUST our bulk element * instead of creating a new object by *copying* the sds we * just use the current sds string. */ if (pos == 0 && diff --git a/src/t_string.c b/src/t_string.c index 8ba915a58..0a7f22583 100644 --- a/src/t_string.c +++ b/src/t_string.c @@ -340,7 +340,7 @@ void incrbyfloatCommand(redisClient *c) { addReplyBulk(c,new); /* Always replicate INCRBYFLOAT as a SET command with the final value - * in order to make sure that differences in float prrcision or formatting + * in order to make sure that differences in float precision or formatting * will not create differences in replicas or after an AOF restart. */ aux = createStringObject("SET",3); rewriteClientCommandArgument(c,0,aux); |