aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-29 11:47:35 -0400
committerNick Mathewson <nickm@torproject.org>2011-06-29 11:47:35 -0400
commit9b3f48c0744bd72cb8b25ac7857476181b29481a (patch)
tree5be334c7a97bdcab24cf9e1979ba1b4753f0b591 /src/or
parent1ed615ded7db0765e8355687bda8b00fdc643e3e (diff)
downloadtor-9b3f48c0744bd72cb8b25ac7857476181b29481a.tar
tor-9b3f48c0744bd72cb8b25ac7857476181b29481a.tar.gz
Fix 'make check-spaces'
Diffstat (limited to 'src/or')
-rw-r--r--src/or/buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 4b8532af0..3490d6dec 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -1691,7 +1691,7 @@ parse_socks(const char *data, size_t datalen, socks_request_t *req,
req->socks_version = 5; /* remember we've already negotiated auth */
log_debug(LD_APP,"socks5: accepted method 0 (no authentication)");
r=0;
- }else if (memchr(data+2, SOCKS_USER_PASS,nummethods)) {
+ } else if (memchr(data+2, SOCKS_USER_PASS,nummethods)) {
req->reply[1] = SOCKS_USER_PASS; /* tell client to use "user/pass"
auth method */
req->socks_version = 5; /* remember we've already negotiated auth */