diff options
author | Roger Dingledine <arma@torproject.org> | 2004-09-29 05:48:25 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-09-29 05:48:25 +0000 |
commit | 1c47de319ea7cfba09c65ee3e44b7b2ff562c808 (patch) | |
tree | ca70ea7abdc93b16a19f156eb36a5193a7047dfc /src/or | |
parent | af9fd660d57ac6cda692310d9020a66579e50ed1 (diff) | |
download | tor-1c47de319ea7cfba09c65ee3e44b7b2ff562c808.tar tor-1c47de319ea7cfba09c65ee3e44b7b2ff562c808.tar.gz |
ha ha, thought the bugs were done
don't stop writing the compressed directory just because you found a nul
svn:r2399
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index de252b025..3d0c2005e 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; } |