summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index f69f4e3..8317afa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -265,9 +265,9 @@ int main(int argc, char **argv)
break;
// The socket is non-blocking, so wait for incoming data with
- // select (not recvfrom). Furthermore, select will return if
- // gets interrupted by a signal, which is main loop breaking
- // can be easily implemented.
+ // select (not recvfrom). Furthermore, select returns if it's
+ // interrupted by a signal, which makes breaking the main loop
+ // easy to implement.
rv = select(server_sockfd + 1, &readfds, NULL, NULL, NULL);
if (rv == -1 && errno == EINTR) {
interrupted_select: