Commit ca908473 authored by antirez's avatar antirez
Browse files

A comment moved a few lines for clarity.

parent 94d490b9
...@@ -789,10 +789,10 @@ int processMultibulkBuffer(redisClient *c) { ...@@ -789,10 +789,10 @@ int processMultibulkBuffer(redisClient *c) {
/* Not enough data (+2 == trailing \r\n) */ /* Not enough data (+2 == trailing \r\n) */
break; break;
} else { } else {
#ifdef REDIS_MBULK_BIG_ARG
/* Optimization: if the buffer contanins JUST our bulk element /* Optimization: if the buffer contanins JUST our bulk element
* instead of creating a new object by *copying* the sds we * instead of creating a new object by *copying* the sds we
* just use the current sds string. */ * just use the current sds string. */
#ifdef REDIS_MBULK_BIG_ARG
if (pos == 0 && if (pos == 0 &&
c->bulklen >= REDIS_MBULK_BIG_ARG && c->bulklen >= REDIS_MBULK_BIG_ARG &&
(signed) sdslen(c->querybuf) == c->bulklen+2) (signed) sdslen(c->querybuf) == c->bulklen+2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment