diff options
author | Roger Dingledine <arma@torproject.org> | 2008-05-04 09:36:48 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-05-04 09:36:48 +0000 |
commit | 755cbe5d4441c190c0ac153522b1cc282cfe07d7 (patch) | |
tree | bfb8868d721f43e9bc45d51b5db9e6ddd76153c6 | |
parent | 0ea78aee365ee246dbe4f1feb39b677c1536aed2 (diff) | |
download | tor-755cbe5d4441c190c0ac153522b1cc282cfe07d7.tar tor-755cbe5d4441c190c0ac153522b1cc282cfe07d7.tar.gz |
cosmetic patch by Bernhard M. Wiedemann, so our comments follow
the socks5 protocol better
svn:r14552
-rw-r--r-- | src/or/buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index d91482d85..daef1f935 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -1300,7 +1300,7 @@ fetch_from_buf_socks(buf_t *buf, socks_request_t *req, req->replylen = 2; /* 2 bytes of response */ req->reply[0] = 5; /* socks5 reply */ - req->reply[1] = SOCKS5_SUCCEEDED; + req->reply[1] = 0; /* tell client to use "none" auth method */ req->socks_version = 5; /* remember we've already negotiated auth */ log_debug(LD_APP,"socks5: accepted method 0"); return 0; |