diff options
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 2aaa9f2c4..16ec51081 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1413,7 +1413,7 @@ directory_handle_command_get(connection_t *conn, char *headers, connection_write_to_buf(tmp, strlen(tmp), conn); conn->cached_dir = d; conn->cached_dir_offset = 0; - if (deflated) + if (! deflated) conn->zlib_state = tor_zlib_new(0, ZLIB_METHOD); ++d->refcnt; |