summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/hastd/proto_tcp4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/hastd/proto_tcp4.c b/sbin/hastd/proto_tcp4.c
index bfbae8c..9bb5c62 100644
--- a/sbin/hastd/proto_tcp4.c
+++ b/sbin/hastd/proto_tcp4.c
@@ -242,8 +242,8 @@ tcp4_connect(void *ctx)
return (errno);
}
/*
- * We make socket non-blocking so we have decided about connection
- * timeout.
+ * We make socket non-blocking so we can handle connection timeout
+ * manually.
*/
flags |= O_NONBLOCK;
if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) {
OpenPOWER on IntegriCloud