summaryrefslogtreecommitdiff
path: root/toxcore/TCP_client.c
diff options
context:
space:
mode:
authorRoman Proskuryakov <humbug@deeptown.org>2016-01-23 03:51:11 +0300
committerRoman Proskuryakov <humbug@deeptown.org>2016-01-27 02:14:59 +0300
commitb3655f2c60694fd08f55d9f5663ae1370d178e25 (patch)
tree8e1dfc181b0ae279abef6f3061c079f41629ff10 /toxcore/TCP_client.c
parent94d6333107dc245f669dfbee171544984b47bb6a (diff)
add: comments about hairy code
Diffstat (limited to 'toxcore/TCP_client.c')
-rw-r--r--toxcore/TCP_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/TCP_client.c b/toxcore/TCP_client.c
index 1bd11a1d..e2110ad8 100644
--- a/toxcore/TCP_client.c
+++ b/toxcore/TCP_client.c
@@ -151,7 +151,7 @@ static int socks5_read_handshake_response(TCP_Client_Connection *TCP_conn)
151 if (ret == -1) 151 if (ret == -1)
152 return 0; 152 return 0;
153 153
154 if (data[0] == 5 && data[1] == 0) 154 if (data[0] == 5 && data[1] == 0) // FIXME magic numbers
155 return 1; 155 return 1;
156 156
157 return -1; 157 return -1;