summaryrefslogtreecommitdiffstats
path: root/net/socket/socks5_client_socket.cc
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-05 22:25:03 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-05 22:25:03 +0000
commit82ded58dc13876488bdd56cf6b996e08dcd07206 (patch)
treeae2aa68fc398e416f4231ae49acd2b2f4d51a84c /net/socket/socks5_client_socket.cc
parent6235a28aa80615aa1a1bc561f1ad4d9559914fe1 (diff)
downloadchromium_src-82ded58dc13876488bdd56cf6b996e08dcd07206.zip
chromium_src-82ded58dc13876488bdd56cf6b996e08dcd07206.tar.gz
chromium_src-82ded58dc13876488bdd56cf6b996e08dcd07206.tar.bz2
Enhance a function comment per feedback from a code review.
TBR=wtc Review URL: http://codereview.chromium.org/521032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35565 0039d316-1c4b-4281-b951-d872f2087c98
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";