summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-04-07 12:36:53 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-04-07 12:36:53 +0200
commit03d33627e9341cc161c459d4a557c547cade28af (patch)
tree989fc44bcfa532311fc13d72652e75b9d035dfd3
parent397c902d7eb8c250bbc480f826cc873e287f94c7 (diff)
Rewrite a nonsensical comment.
-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: