diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-04-18 01:23:39 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2017-04-18 01:23:39 +0200 |
commit | b8c9f229d747d4edc739198113dfb7e3818e23bc (patch) | |
tree | 80a8e8e05118d18b989548fd182a67ae8653c6fa /src/or/connection.c | |
parent | 40ed68290e69d32d95bc0d0c259d8c76ae3e80ef (diff) | |
download | tor-b8c9f229d747d4edc739198113dfb7e3818e23bc.tar.gz tor-b8c9f229d747d4edc739198113dfb7e3818e23bc.zip |
Rename `write_to_buf_zlib()` to `write_to_buf_compress()`.
See https://bugs.torproject.org/21663
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 70b08e2deb..5fb2c53677 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -4060,9 +4060,9 @@ connection_write_to_buf_impl_,(const char *string, size_t len, if (zlib) { dir_connection_t *dir_conn = TO_DIR_CONN(conn); int done = zlib < 0; - CONN_LOG_PROTECT(conn, r = write_to_buf_zlib(conn->outbuf, - dir_conn->compress_state, - string, len, done)); + CONN_LOG_PROTECT(conn, r = write_to_buf_compress(conn->outbuf, + dir_conn->compress_state, + string, len, done)); } else { CONN_LOG_PROTECT(conn, r = write_to_buf(string, len, conn->outbuf)); } |