diff options
Diffstat (limited to 'src/or/directory.c')
-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 c64f290c04..0a7c562fdd 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2385,7 +2385,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, estimated_len += body_len; SMARTLIST_FOREACH(items, const char *, item, { size_t ln = strlen(item); - if (compressed ) { + if (compressed) { estimated_len += ln/2; } else { body_len += ln; estimated_len += ln; |