summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-20 16:48:32 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-20 16:48:32 +0000
commit0e09b261122a4ef22dccbe212775e5142880183b (patch)
treea39ea103bd1cb4ab982d9a3db3fd4bf1ff68136e
parentef78e4245f2b419ff0df5e4ce420905f2ee5ef7a (diff)
downloadtor-0e09b261122a4ef22dccbe212775e5142880183b.tar.gz
tor-0e09b261122a4ef22dccbe212775e5142880183b.zip
Fishy, but harmless.
svn:r6669
-rw-r--r--src/or/dirserv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 7b8d2f7633..7c2d74bebe 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -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)) {