Compare commits
1 Commits
master
...
whitespace
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b132964e99 |
@ -69,7 +69,7 @@ static int redisPollTick(redisAsyncContext *ac, double timeout) {
|
|||||||
pfd.fd = e->fd;
|
pfd.fd = e->fd;
|
||||||
pfd.events = 0;
|
pfd.events = 0;
|
||||||
if (reading)
|
if (reading)
|
||||||
pfd.events = POLLIN;
|
pfd.events = POLLIN;
|
||||||
if (writing)
|
if (writing)
|
||||||
pfd.events |= POLLOUT;
|
pfd.events |= POLLOUT;
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ static int redisPollTick(redisAsyncContext *ac, double timeout) {
|
|||||||
return ns;
|
return ns;
|
||||||
ns = 0;
|
ns = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
handled = 0;
|
handled = 0;
|
||||||
e->in_tick = 1;
|
e->in_tick = 1;
|
||||||
if (ns) {
|
if (ns) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user