From e50cdbe461263db87f910ce963c3e6a222c91835 Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 19 Jan 2013 13:46:14 +0100 Subject: [PATCH] Additionally two typos fixed thanks to @jodal --- src/networking.c | 2 +- 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); -- GitLab