From f8ce2456096f6510f2e1eb9ac49283f25eb669cf Mon Sep 17 00:00:00 2001
From: Alexander Liu <alec@atplatform.net>
Date: Sat, 27 Apr 2019 03:52:33 +0800
Subject: [PATCH 2/2] MINOR: fix some typos, and formating

---
 include/types/connection.h | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/include/types/connection.h b/include/types/connection.h
index 84e3ae0d..2a1b23b4 100644
--- a/include/types/connection.h
+++ b/include/types/connection.h
@@ -165,9 +165,7 @@ enum {
 
 	CO_FL_EARLY_SSL_HS  = 0x00004000,  /* We have early data pending, don't start SSL handshake yet */
 	CO_FL_EARLY_DATA    = 0x00008000,  /* At least some of the data are early data */
-
-	CO_FL_SOCKS_HS      = 0x00010000,  /* doing SOCKS upstream proxy handshake */
-
+	CO_FL_SOCKS_HS      = 0x00010000,  /* handshaking with upstream SOCKS proxy */
 	/* unused : 0x00020000 */
 
 	/* flags used to remember what shutdown have been performed/reported */
@@ -219,7 +217,7 @@ enum {
 	CO_FL_XPRT_TRACKED  = 0x80000000,
 };
 
-/* flags for use in connection->socks4_proxy_status */
+/* flags for use in connection->socks_proxy.status */
 enum {
 	CO_SOCKS_NONE,
 	CO_SOCKS_SENDING,
@@ -473,7 +471,7 @@ struct connection {
 		struct sockaddr_storage to;	/* address reached by the client, or address to connect to */
 		struct {
 			unsigned char use;			/* socks4 proxy enabled  */
-			struct sockaddr_storage addr;		/* the address of the socks4 proxy*/
+			struct sockaddr_storage addr;		/* the address of the socks4 proxy */
 			struct socks4_request req_line;		/* the info send to socks4 proxy */
 			unsigned int status;			/* CO_SOCKS_* */
 			signed short req_remain_len;		/* the length remain to sent */
-- 
2.20.1 (Apple Git-117)

