From: Roger Dingledine Date: Wed, 29 Sep 2004 05:48:25 +0000 (+0000) Subject: ha ha, thought the bugs were done X-Git-Tag: tor-0.0.9pre1~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c47de319ea7cfba09c65ee3e44b7b2ff562c808;p=thirdparty%2Ftor.git ha ha, thought the bugs were done don't stop writing the compressed directory just because you found a nul svn:r2399 --- diff --git a/src/or/directory.c b/src/or/directory.c index de252b025d..3d0c2005e6 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -622,7 +622,7 @@ directory_handle_command_get(connection_t *conn, char *headers, (int)dlen, deflated?"deflate":"identity"); connection_write_to_buf(tmp, strlen(tmp), conn); - connection_write_to_buf(cp, strlen(cp), conn); + connection_write_to_buf(cp, dlen, conn); return 0; }