aboutsummaryrefslogtreecommitdiff
path: root/src/decode.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-10-22 19:44:40 +0200
committerjcid <devnull@localhost>2008-10-22 19:44:40 +0200
commitf144706fd7987fa9fa8555e5ff25ec326e4a07f5 (patch)
tree917722b688bfcf7b06234491409a2b8786f313e5 /src/decode.c
parentb24af37659134db2198199e3b534bc767a582e58 (diff)
- Allowed compilation with older machines by removing a few C99isms.
- Added use of inttypes.h when stdint.h isn't found.
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index ff4fcb27..d22f939b 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -221,9 +221,9 @@ Decode *a_Decode_content_init(const char *format)
if (format && *format) {
if (!dStrcasecmp(format, "gzip") || !dStrcasecmp(format, "x-gzip")) {
+ z_stream *zs;
_MSG("gzipped data!\n");
- z_stream *zs;
dc = dNew(Decode, 1);
dc->buffer = dNew(char, bufsize);
dc->state = zs = dNew(z_stream, 1);