diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-04-07 12:36:53 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-04-07 12:36:53 +0200 |
commit | 03d33627e9341cc161c459d4a557c547cade28af (patch) | |
tree | 989fc44bcfa532311fc13d72652e75b9d035dfd3 | |
parent | 397c902d7eb8c250bbc480f826cc873e287f94c7 (diff) |
Rewrite a nonsensical comment.
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |