diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-04-04 18:13:05 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-04-04 18:13:05 +0300 |
commit | 0665896a5593fb41c92cbf164182a058ee40518c (patch) | |
tree | d657fac84d35aa3f605d25dc8e0a3c165db93b30 /src/nxt_epoll_engine.c | |
parent | 43ba7aad6cadfab2eb45f09e894dec072c93e6cd (diff) | |
download | unit-0665896a5593fb41c92cbf164182a058ee40518c.tar.gz unit-0665896a5593fb41c92cbf164182a058ee40518c.tar.bz2 |
Style: capitalized letters in hexadecimal literals.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_epoll_engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_epoll_engine.c b/src/nxt_epoll_engine.c index 15aa4481..c6ce145d 100644 --- a/src/nxt_epoll_engine.c +++ b/src/nxt_epoll_engine.c @@ -824,14 +824,14 @@ nxt_epoll_eventfd_handler(nxt_task_t *task, void *obj, void *data) /* * The maximum value after write() to a eventfd() descriptor will - * block or return EAGAIN is 0xfffffffffffffffe, so the descriptor + * block or return EAGAIN is 0xFFFFFFFFFFFFFFFE, so the descriptor * can be read once per many notifications, for example, once per * 2^32-2 noticifcations. Since the eventfd() file descriptor is * always registered in EPOLLET mode, epoll returns event about * only the latest write() to the descriptor. */ - if (engine->u.epoll.neventfd++ >= 0xfffffffe) { + if (engine->u.epoll.neventfd++ >= 0xFFFFFFFE) { engine->u.epoll.neventfd = 0; n = read(engine->u.epoll.eventfd.fd, &events, sizeof(uint64_t)); |