summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepak Verma <azureuser@deepakvUSnorth.deepakvUSnorth.j4.internal.cloudapp.net>2014-12-01 22:54:49 +0000
committerantirez <antirez@gmail.com>2014-12-09 15:26:26 +0100
commit86ebc139c28bc960a4e25e87a90130f150d6e394 (patch)
tree4993172e66f273def1b3d4fe0836a7f6889b763d
parent3d73f088e1589b2eac900b20f18da75d57569e09 (diff)
downloadredis-86ebc139c28bc960a4e25e87a90130f150d6e394.tar.gz
replaced // comments #2150
-rw-r--r--src/redis-benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c
index ef8d8ff83..ddf891e2d 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);