Fix .z suffix for intrumented download stats

svn:r15315
This commit is contained in:
Peter Palfrader 2008-06-16 22:39:23 +00:00
parent aa3ad6ecb4
commit 6880df52eb

View File

@ -2205,7 +2205,7 @@ note_client_request(int purpose, int compressed, size_t bytes)
} else {
key = tor_malloc(256);
tor_snprintf(key, 256, "unknown purpose (%d)%s",
purpose, compressed?"":".z");
purpose, compressed?".z":"");
}
note_request(key, bytes);
tor_free(key);