aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 46ac8bc5f..59bfd898e 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2201,7 +2201,7 @@ note_client_request(int purpose, int compressed, size_t bytes)
}
if (kind) {
key = tor_malloc(256);
- tor_snprintf(key, 256, "%s%s", kind, compressed?"":".z");
+ tor_snprintf(key, 256, "%s%s", kind, compressed?".z":"");
} else {
key = tor_malloc(256);
tor_snprintf(key, 256, "unknown purpose (%d)%s",