]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fishy, but harmless.
authorNick Mathewson <nickm@torproject.org>
Tue, 20 Jun 2006 16:48:32 +0000 (16:48 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 20 Jun 2006 16:48:32 +0000 (16:48 +0000)
svn:r6669

src/or/dirserv.c

index 7b8d2f763365d1edabf098f39bcdd206d6f96d19..7c2d74bebe973b1636c0b252636e49b9fdb93bdb 100644 (file)
@@ -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)) {