diff options
Diffstat (limited to 'src/common/torgzip.c')
-rw-r--r-- | src/common/torgzip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/torgzip.c b/src/common/torgzip.c index 65f13b357f..fea8032532 100644 --- a/src/common/torgzip.c +++ b/src/common/torgzip.c @@ -253,7 +253,8 @@ tor_gzip_uncompress(char **out, size_t *out_len, * to be compressed or not. If it is, return the likeliest compression method. * Otherwise, return 0. */ -int detect_compression_method(const char *in, size_t in_len) +int +detect_compression_method(const char *in, size_t in_len) { if (in_len > 2 && !memcmp(in, "\x1f\x8b", 2)) { return GZIP_METHOD; |