Skip to content
Snippets Groups Projects
Unverified Commit 22e6ad6f authored by Alexander Hansen Færøy's avatar Alexander Hansen Færøy
Browse files

Clean up mentions of 'zlib' and rename the mentions to 'compressed'.

This patch cleans up in various places where 'zlib' is mentioned.
parent 7bececbd
No related branches found
No related tags found
No related merge requests found
......@@ -18,10 +18,10 @@
static void
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",
zlib ? "Compressed " : "", (unsigned)len, conn, string);
compressed ? "Compressed " : "", (unsigned)len, conn, string);
}
static int
......
......@@ -72,9 +72,9 @@ test_ext_or_id_map(void *arg)
* writes to outbuf. */
static void
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(conn);
......
......@@ -98,9 +98,9 @@ helper_setup_fake_routerlist(void)
void
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(conn);
......
......@@ -15,7 +15,7 @@ void helper_setup_fake_routerlist(void);
#define GET(path) "GET " path " HTTP/1.0\r\n\r\n"
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,
uint16_t family, tor_addr_t *out);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment