summaryrefslogtreecommitdiff
path: root/lib/zlib/inflate.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 10:45:42 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 10:45:42 +0200
commit68bb6e56ba2ea4bda19c36193d7c366a04daf289 (patch)
tree679e8dc87d886cfb8a1f5dbf39732e52858a0ae2 /lib/zlib/inflate.h
parent620a27bdf140e5e9091cc922f62b6fd12b12330e (diff)
downloadsamba-68bb6e56ba2ea4bda19c36193d7c366a04daf289.tar.gz
samba-68bb6e56ba2ea4bda19c36193d7c366a04daf289.tar.bz2
samba-68bb6e56ba2ea4bda19c36193d7c366a04daf289.zip
Rename BAD to BAD_DATA since the first is already defined on SunOS.
Diffstat (limited to 'lib/zlib/inflate.h')
-rw-r--r--lib/zlib/inflate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zlib/inflate.h b/lib/zlib/inflate.h
index 07bd3e78a7..25b6538bc2 100644
--- a/lib/zlib/inflate.h
+++ b/lib/zlib/inflate.h
@@ -45,7 +45,7 @@ typedef enum {
CHECK, /* i: waiting for 32-bit check value */
LENGTH, /* i: waiting for 32-bit length (gzip) */
DONE, /* finished check, done -- remain here until reset */
- BAD, /* got a data error -- remain here until reset */
+ BAD_DATA, /* got a data error -- remain here until reset */
MEM, /* got an inflate() memory error -- remain here until reset */
SYNC /* looking for synchronization bytes to restart inflate() */
} inflate_mode;
@@ -53,7 +53,7 @@ typedef enum {
/*
State transitions between above modes -
- (most modes can go to the BAD or MEM mode -- not shown for clarity)
+ (most modes can go to the BAD_DATA or MEM mode -- not shown for clarity)
Process header:
HEAD -> (gzip) or (zlib)