From: Nick Mathewson Date: Tue, 25 Aug 2009 14:30:54 +0000 (-0400) Subject: Clean up a couple of style issues in the socks-client branch. X-Git-Tag: tor-0.2.2.1-alpha~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=903f9ef50e418f6ec1a1ab7ae8146e9d6d2a7767;p=thirdparty%2Ftor.git Clean up a couple of style issues in the socks-client branch. --- 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"; } } +