From 27aa7ef3d62938ab121fd222e40a6b2b95c63849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Wed, 2 Oct 2013 21:33:10 +0200 Subject: [PATCH] Some comment improving --- src/iomux_epoll.c | 2 +- src/iomux_select.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iomux_epoll.c b/src/iomux_epoll.c index 65a9eaf..6e22319 100644 --- a/src/iomux_epoll.c +++ b/src/iomux_epoll.c @@ -170,7 +170,7 @@ again: event_cnt = iomux_timers_run(mux_); //process timers - if (rc == 0) //Just the timeout + if (rc == 0) //no fd's were ready, no more work to do return event_cnt; for (i = 0; i < rc; i++) { diff --git a/src/iomux_select.c b/src/iomux_select.c index ad39cf9..7312415 100644 --- a/src/iomux_select.c +++ b/src/iomux_select.c @@ -157,7 +157,7 @@ again: event_cnt = iomux_timers_run(mux_); //fire the timers - if (rc == 0) //Just the timeout + if (rc == 0) //no fd's were ready, no more work to do return event_cnt; for (i = 0; rc >= 0 && i < mux->num_descriptors; i++) {