diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-08-25 10:30:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-08-25 10:30:54 -0400 |
commit | 903f9ef50e418f6ec1a1ab7ae8146e9d6d2a7767 (patch) | |
tree | b598ef0d7f3376b8fb3bf60b463c67df852beed8 | |
parent | 659fc13da5f8cf7c3d7d3be238df709e8de06945 (diff) | |
download | tor-903f9ef50e418f6ec1a1ab7ae8146e9d6d2a7767.tar.gz tor-903f9ef50e418f6ec1a1ab7ae8146e9d6d2a7767.zip |
Clean up a couple of style issues in the socks-client branch.
-rw-r--r-- | src/or/connection.c | 2 | ||||
-rw-r--r-- | src/or/reasons.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index ccfbe19ed5..65ca3898e6 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1386,7 +1386,7 @@ connection_proxy_connect(connection_t *conn, int type) memcpy(buf + 4, &ip4addr, 4); /* addr */ buf[8] = 0; /* userid (empty) */ - connection_write_to_buf((char *)buf, sizeof buf, conn); + connection_write_to_buf((char *)buf, sizeof(buf), conn); conn->proxy_state = PROXY_SOCKS4_WANT_CONNECT_OK; break; } diff --git a/src/or/reasons.c b/src/or/reasons.c index 5efb08bb41..78a16af10e 100644 --- a/src/or/reasons.c +++ b/src/or/reasons.c @@ -369,3 +369,4 @@ socks5_response_code_to_string(uint8_t code) return "unknown reason"; } } + |