From 86ebc139c28bc960a4e25e87a90130f150d6e394 Mon Sep 17 00:00:00 2001 From: Deepak Verma Date: Mon, 1 Dec 2014 22:54:49 +0000 Subject: [PATCH] replaced // comments #2150 --- src/redis-benchmark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index ef8d8ff8..ddf891e2 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -213,11 +213,11 @@ static void readHandler(aeEventLoop *el, int fd, void *privdata, int mask) { } freeReplyObject(reply); - // This is an OK for prefix commands such as auth and select. + /* This is an OK for prefix commands such as auth and select.*/ if (c->prefix_pending > 0) { c->prefix_pending--; c->pending--; - // Discard prefix commands on first response. + /* Discard prefix commands on first response.*/ if (c->prefixlen > 0) { size_t j; sdsrange(c->obuf, c->prefixlen, -1); -- GitLab