aboutsummaryrefslogtreecommitdiff
path: root/src/common/torgzip.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-09 02:35:51 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-09 02:35:51 +0000
commitc6f2d725d005f912830b523aa1d1a419f4e22ecd (patch)
tree1368757b759b80251b8a1afd343f3a5ecab0a36d /src/common/torgzip.h
parentc34125503493b2a71728c1cc5e913744f797704e (diff)
downloadtor-c6f2d725d005f912830b523aa1d1a419f4e22ecd.tar
tor-c6f2d725d005f912830b523aa1d1a419f4e22ecd.tar.gz
r8957@totoro: nickm | 2006-10-08 22:35:17 -0400
The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664
Diffstat (limited to 'src/common/torgzip.h')
-rw-r--r--src/common/torgzip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/torgzip.h b/src/common/torgzip.h
index 153ab4992..ca3f49354 100644
--- a/src/common/torgzip.h
+++ b/src/common/torgzip.h
@@ -29,7 +29,7 @@ tor_gzip_uncompress(char **out, size_t *out_len,
int is_gzip_supported(void);
-int detect_compression_method(const char *in, size_t in_len);
+compress_method_t detect_compression_method(const char *in, size_t in_len);
typedef enum {
TOR_ZLIB_OK, TOR_ZLIB_DONE, TOR_ZLIB_BUF_FULL, TOR_ZLIB_ERR