From: antirez Date: Fri, 4 Nov 2011 10:18:15 +0000 (+0100) Subject: A comment moved a few lines for clarity. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/ca908473e8298e617d099a57ae1fb8db4bccdfa9 A comment moved a few lines for clarity. --- diff --git a/src/networking.c b/src/networking.c index 4ecf78e8..51c0ac61 100644 --- a/src/networking.c +++ b/src/networking.c @@ -789,10 +789,10 @@ int processMultibulkBuffer(redisClient *c) { /* Not enough data (+2 == trailing \r\n) */ break; } else { +#ifdef REDIS_MBULK_BIG_ARG /* Optimization: if the buffer contanins JUST our bulk element * instead of creating a new object by *copying* the sds we * just use the current sds string. */ -#ifdef REDIS_MBULK_BIG_ARG if (pos == 0 && c->bulklen >= REDIS_MBULK_BIG_ARG && (signed) sdslen(c->querybuf) == c->bulklen+2)