diff --git a/src/networking.c b/src/networking.c index f48d27c07233afd9a12fe04a2b3c0bac2e31290d..6e5d32489861b802643259218061827ab2f0a621 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 8ba915a587ba41dd496a00634583ed5de4ee8925..0a7f22583913f5a993337e444bef0bbdac956e48 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);