diff options
author | dejun.xdj <dejun.xdj@alibaba-inc.com> | 2018-07-04 20:04:06 +0800 |
---|---|---|
committer | dejun.xdj <dejun.xdj@alibaba-inc.com> | 2018-07-04 20:04:06 +0800 |
commit | 46f5a2ca077dbc9c4edab1f68feaa2c68244e0fc (patch) | |
tree | f5faaeeee3c5426e505c35588546463ecad9c799 /src/ae.c | |
parent | 93238575f77630f24e0472bdbf7eecb73a4652a8 (diff) | |
download | redis-46f5a2ca077dbc9c4edab1f68feaa2c68244e0fc.tar.gz |
Fix indentation.
Diffstat (limited to 'src/ae.c')
-rw-r--r-- | src/ae.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -433,7 +433,7 @@ int aeProcessEvents(aeEventLoop *eventLoop, int flags) * before replying to a client. */ int invert = fe->mask & AE_BARRIER; - /* Note the "fe->mask & mask & ..." code: maybe an already + /* Note the "fe->mask & mask & ..." code: maybe an already * processed event removed an element that fired and we still * didn't processed, so we check if the event is still valid. * @@ -485,7 +485,7 @@ int aeWait(int fd, int mask, long long milliseconds) { if ((retval = poll(&pfd, 1, milliseconds))== 1) { if (pfd.revents & POLLIN) retmask |= AE_READABLE; if (pfd.revents & POLLOUT) retmask |= AE_WRITABLE; - if (pfd.revents & POLLERR) retmask |= AE_WRITABLE; + if (pfd.revents & POLLERR) retmask |= AE_WRITABLE; if (pfd.revents & POLLHUP) retmask |= AE_WRITABLE; return retmask; } else { |