summaryrefslogtreecommitdiffstats
path: root/net/socket/socks5_client_socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/socks5_client_socket.cc')
-rw-r--r--net/socket/socks5_client_socket.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/socket/socks5_client_socket.cc b/net/socket/socks5_client_socket.cc
index d1af427..a709f59 100644
--- a/net/socket/socks5_client_socket.cc
+++ b/net/socket/socks5_client_socket.cc
@@ -18,7 +18,8 @@ namespace net {
namespace {
-// Returns a string description of |socks_error|, or NULL.
+// Returns a string description of |socks_error|, or NULL if |socks_error| is
+// not a valid SOCKS reply.
const char* MapSOCKSReplyToErrorString(char socks_error) {
switch(socks_error) {
case 1: return "(1) General SOCKS server failure";