提交 86ebc139 编写于 作者: D Deepak Verma 提交者: antirez

replaced // comments #2150

上级 3d73f088
...@@ -213,11 +213,11 @@ static void readHandler(aeEventLoop *el, int fd, void *privdata, int mask) { ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册