summaryrefslogtreecommitdiff
path: root/jet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jet.cpp')
-rw-r--r--jet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jet.cpp b/jet.cpp
index 1a2e9c9..3d45c75 100644
--- a/jet.cpp
+++ b/jet.cpp
@@ -64,7 +64,7 @@ int main() {
epoll_event events[MAX_EVENTS];
Client *clients[1024] = {};
- for (;;) {
+ while (true) {
int nfds = epoll_wait(epollfd, events, MAX_EVENTS, -1);
for (int i = 0; i < nfds; i++) {