summaryrefslogtreecommitdiff
path: root/src/common/torgzip.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-30 01:09:52 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-30 01:09:52 +0000
commit92451f74a8fd50bbd2f360526263a4913d145677 (patch)
tree0fd53e000abac269d11ca5bb7c13ae7a14d997bc /src/common/torgzip.c
parent6ce1add8da1de0c814b4f10f99e7c1f89736ed90 (diff)
downloadtor-92451f74a8fd50bbd2f360526263a4913d145677.tar.gz
tor-92451f74a8fd50bbd2f360526263a4913d145677.zip
Reformat inconsistent function declarations.
svn:r5160
Diffstat (limited to 'src/common/torgzip.c')
-rw-r--r--src/common/torgzip.c3
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;