mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
Clean up mentions of 'zlib' and rename the mentions to 'compressed'.
This patch cleans up in various places where 'zlib' is mentioned.
This commit is contained in:
parent
7bececbd69
commit
22e6ad6f26
4 changed files with 7 additions and 7 deletions
|
@ -18,10 +18,10 @@
|
||||||
|
|
||||||
static void
|
static void
|
||||||
mock_connection_write_to_buf_impl_(const char *string, size_t len,
|
mock_connection_write_to_buf_impl_(const char *string, size_t len,
|
||||||
connection_t *conn, int zlib)
|
connection_t *conn, int compressed)
|
||||||
{
|
{
|
||||||
log_debug(LD_GENERAL, "%sResponse:\n%u\nConnection: %p\n%s\n",
|
log_debug(LD_GENERAL, "%sResponse:\n%u\nConnection: %p\n%s\n",
|
||||||
zlib ? "Compressed " : "", (unsigned)len, conn, string);
|
compressed ? "Compressed " : "", (unsigned)len, conn, string);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -72,9 +72,9 @@ test_ext_or_id_map(void *arg)
|
||||||
* writes to outbuf. */
|
* writes to outbuf. */
|
||||||
static void
|
static void
|
||||||
connection_write_to_buf_impl_replacement(const char *string, size_t len,
|
connection_write_to_buf_impl_replacement(const char *string, size_t len,
|
||||||
connection_t *conn, int zlib)
|
connection_t *conn, int compressed)
|
||||||
{
|
{
|
||||||
(void) zlib;
|
(void) compressed;
|
||||||
|
|
||||||
tor_assert(string);
|
tor_assert(string);
|
||||||
tor_assert(conn);
|
tor_assert(conn);
|
||||||
|
|
|
@ -98,9 +98,9 @@ helper_setup_fake_routerlist(void)
|
||||||
|
|
||||||
void
|
void
|
||||||
connection_write_to_buf_mock(const char *string, size_t len,
|
connection_write_to_buf_mock(const char *string, size_t len,
|
||||||
connection_t *conn, int zlib)
|
connection_t *conn, int compressed)
|
||||||
{
|
{
|
||||||
(void) zlib;
|
(void) compressed;
|
||||||
|
|
||||||
tor_assert(string);
|
tor_assert(string);
|
||||||
tor_assert(conn);
|
tor_assert(conn);
|
||||||
|
|
|
@ -15,7 +15,7 @@ void helper_setup_fake_routerlist(void);
|
||||||
|
|
||||||
#define GET(path) "GET " path " HTTP/1.0\r\n\r\n"
|
#define GET(path) "GET " path " HTTP/1.0\r\n\r\n"
|
||||||
void connection_write_to_buf_mock(const char *string, size_t len,
|
void connection_write_to_buf_mock(const char *string, size_t len,
|
||||||
connection_t *conn, int zlib);
|
connection_t *conn, int compressed);
|
||||||
|
|
||||||
int mock_tor_addr_lookup__fail_on_bad_addrs(const char *name,
|
int mock_tor_addr_lookup__fail_on_bad_addrs(const char *name,
|
||||||
uint16_t family, tor_addr_t *out);
|
uint16_t family, tor_addr_t *out);
|
||||||
|
|
Loading…
Add table
Reference in a new issue