summaryrefslogtreecommitdiff
path: root/src/ae.c
diff options
context:
space:
mode:
authordejun.xdj <dejun.xdj@alibaba-inc.com>2018-07-04 20:04:06 +0800
committerdejun.xdj <dejun.xdj@alibaba-inc.com>2018-07-04 20:04:06 +0800
commit46f5a2ca077dbc9c4edab1f68feaa2c68244e0fc (patch)
treef5faaeeee3c5426e505c35588546463ecad9c799 /src/ae.c
parent93238575f77630f24e0472bdbf7eecb73a4652a8 (diff)
downloadredis-46f5a2ca077dbc9c4edab1f68feaa2c68244e0fc.tar.gz
Fix indentation.
Diffstat (limited to 'src/ae.c')
-rw-r--r--src/ae.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ae.c b/src/ae.c
index 65adb2ab8..1ea671569 100644
--- a/src/ae.c
+++ b/src/ae.c
@@ -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 {