aboutsummaryrefslogtreecommitdiff
path: root/src/common/torgzip.h
diff options
context:
space:
mode:
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 61bb6adbc..6c88f6927 100644
--- a/src/common/torgzip.h
+++ b/src/common/torgzip.h
@@ -10,7 +10,7 @@
#ifndef __TORGZIP_H
#define __TORGZIP_H
-typedef enum { GZIP_METHOD, ZLIB_METHOD } compress_method_t;
+typedef enum { GZIP_METHOD=1, ZLIB_METHOD=2 } compress_method_t;
int
tor_gzip_compress(char **out, size_t *out_len,