diff options
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 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; } |