summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-09-29 05:48:25 +0000
committerRoger Dingledine <arma@torproject.org>2004-09-29 05:48:25 +0000
commit1c47de319ea7cfba09c65ee3e44b7b2ff562c808 (patch)
treeca70ea7abdc93b16a19f156eb36a5193a7047dfc
parentaf9fd660d57ac6cda692310d9020a66579e50ed1 (diff)
downloadtor-1c47de319ea7cfba09c65ee3e44b7b2ff562c808.tar.gz
tor-1c47de319ea7cfba09c65ee3e44b7b2ff562c808.zip
ha ha, thought the bugs were done
don't stop writing the compressed directory just because you found a nul svn:r2399
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
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;
}