diff options
author | rsc <devnull@localhost> | 2004-04-20 02:03:38 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-20 02:03:38 +0000 |
commit | a0f1e21ff939612898d63ae2245e47dffc1a8153 (patch) | |
tree | 581f62db3bad2c54d60cb54b6e577787f55071af /src/libflate | |
parent | e637c944febf271252e59742aa108d6e0a527eb7 (diff) | |
download | plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.gz plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.bz2 plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.zip |
make things work on SunOS
Diffstat (limited to 'src/libflate')
-rw-r--r-- | src/libflate/deflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libflate/deflate.c b/src/libflate/deflate.c index 3a55af3f..6f01778f 100644 --- a/src/libflate/deflate.c +++ b/src/libflate/deflate.c @@ -535,7 +535,7 @@ lzwrite(LZstate *lz, void *buf, int n) if(n && lz->w){ nw = (*lz->w)(lz->wr, buf, n); if(nw != n){ - lz->w = nil; + lz->w = 0; lz->wbad = 1; }else lz->totw += n; |