mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fishy, but harmless.
svn:r6669
This commit is contained in:
parent
ef78e4245f
commit
0e09b26112
@ -1890,8 +1890,7 @@ connection_dirserv_add_networkstatus_bytes_to_outbuf(connection_t *conn)
|
||||
* we may need to make a new zlib object to uncompress the next one. */
|
||||
if (uncompressing && ! conn->zlib_state &&
|
||||
conn->fingerprint_stack && smartlist_len(conn->fingerprint_stack))
|
||||
conn->zlib_state = conn->zlib_state = tor_zlib_new(0, ZLIB_METHOD);
|
||||
/* XXX Nick: the line above is fishy -RD */
|
||||
conn->zlib_state = tor_zlib_new(0, ZLIB_METHOD);
|
||||
if (r) return r;
|
||||
} else if (conn->fingerprint_stack &&
|
||||
smartlist_len(conn->fingerprint_stack)) {
|
||||
|
Loading…
Reference in New Issue
Block a user