cosmetic patch by Bernhard M. Wiedemann, so our comments follow

the socks5 protocol better


svn:r14552
This commit is contained in:
Roger Dingledine
2008-05-04 09:36:48 +00:00
parent 0ea78aee36
commit 755cbe5d44
+1 -1
View File
@@ -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;