Author: metze Date: 2006-04-01 08:12:49 +0000 (Sat, 01 Apr 2006) New Revision: 14848
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14848 Log: use the constant instead of the interger value metze Modified: branches/SAMBA_4_0/source/lib/compression/mszip.c Changeset: Modified: branches/SAMBA_4_0/source/lib/compression/mszip.c =================================================================== --- branches/SAMBA_4_0/source/lib/compression/mszip.c 2006-04-01 05:41:34 UTC (rev 14847) +++ branches/SAMBA_4_0/source/lib/compression/mszip.c 2006-04-01 08:12:49 UTC (rev 14848) @@ -341,7 +341,7 @@ ZIPNEEDBITS(e) } while ((e = (t = t->v.t + ((uint32_t)b & Zipmask[e]))->e) > 16); ZIPDUMPBITS(t->b) - if (w >= 32768) break; + if (w >= CAB_BLOCKMAX) break; if (e == 16) /* then it's a literal */ CAB(outbuf)[w++] = (uint8_t)t->v.n; else /* it's an EOB or a length */