ha ha, thought the bugs were done

don't stop writing the compressed directory just because you found a nul


svn:r2399
This commit is contained in:
Roger Dingledine 2004-09-29 05:48:25 +00:00
parent af9fd660d5
commit 1c47de319e

View File

@ -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;
}