]> git.saurik.com Git - redis.git/commitdiff
A comment moved a few lines for clarity.
authorantirez <antirez@gmail.com>
Fri, 4 Nov 2011 10:18:15 +0000 (11:18 +0100)
committerantirez <antirez@gmail.com>
Fri, 4 Nov 2011 10:18:15 +0000 (11:18 +0100)
src/networking.c

index 4ecf78e80e251f7d2991a8c2a9f52357b6496995..51c0ac612fdf56da81838887c84ab72da667ff37 100644 (file)
@@ -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)