diff options
-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"; } } + |