Clean up a couple of style issues in the socks-client branch.

This commit is contained in:
Nick Mathewson 2009-08-25 10:30:54 -04:00
parent 659fc13da5
commit 903f9ef50e
2 changed files with 2 additions and 1 deletions

View File

@ -1386,7 +1386,7 @@ connection_proxy_connect(connection_t *conn, int type)
memcpy(buf + 4, &ip4addr, 4); /* addr */ memcpy(buf + 4, &ip4addr, 4); /* addr */
buf[8] = 0; /* userid (empty) */ 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; conn->proxy_state = PROXY_SOCKS4_WANT_CONNECT_OK;
break; break;
} }

View File

@ -369,3 +369,4 @@ socks5_response_code_to_string(uint8_t code)
return "unknown reason"; return "unknown reason";
} }
} }