replaced // comments #2150

This commit is contained in:
Deepak Verma 2014-12-01 22:54:49 +00:00
parent 560ec60ed4
commit 7923d71fb7

View File

@ -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);