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); 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) { if (c->prefix_pending > 0) {
c->prefix_pending--; c->prefix_pending--;
c->pending--; c->pending--;
// Discard prefix commands on first response. /* Discard prefix commands on first response.*/
if (c->prefixlen > 0) { if (c->prefixlen > 0) {
size_t j; size_t j;
sdsrange(c->obuf, c->prefixlen, -1); sdsrange(c->obuf, c->prefixlen, -1);