aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--socket.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/socket.c b/socket.c
index 9f031db6..f7d0848c 100644
--- a/socket.c
+++ b/socket.c
@@ -291,9 +291,8 @@ int SockOpen(const char *host, const char *service,
if (i < 0)
continue;
- /* Socket opened saved. Usefull if connect timeout
- * because it can be closed.
- */
+ /* Save socket descriptor.
+ * Used to close the socket after connect timeout. */
mailserver_socket_temp = i;
if (connect(i, (struct sockaddr *) ai->ai_addr, ai->ai_addrlen) < 0) {