mirror of
https://github.com/fluencelabs/redis
synced 2025-03-21 18:10:49 +00:00
replaced // comments #2150
This commit is contained in:
parent
560ec60ed4
commit
7923d71fb7
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user