[or-cvs] Fishy, but harmless.

Nick Mathewson nickm at seul.org
Tue Jun 20 16:48:35 UTC 2006


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv19329/src/or

Modified Files:
	dirserv.c 
Log Message:
Fishy, but harmless.

Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.344
retrieving revision 1.345
diff -u -p -d -r1.344 -r1.345
--- dirserv.c	20 Jun 2006 13:14:07 -0000	1.344
+++ dirserv.c	20 Jun 2006 16:48:32 -0000	1.345
@@ -1890,8 +1890,7 @@ connection_dirserv_add_networkstatus_byt
        * 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)) {



More information about the tor-commits mailing list