From: Paul Mackerras Date: Mon, 1 Jul 1996 05:31:02 +0000 (+0000) Subject: minimize diffs from version in NetBSD distrib X-Git-Tag: RELEASE_2_3_6~389 X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=2b2a919c1b99f69f039e4c0209b7844b8e5ddd6b;ds=sidebyside minimize diffs from version in NetBSD distrib --- diff --git a/netbsd-1.1/bsd-comp.c b/netbsd-1.1/bsd-comp.c index 6ed8b2a..35880b3 100644 --- a/netbsd-1.1/bsd-comp.c +++ b/netbsd-1.1/bsd-comp.c @@ -1,4 +1,4 @@ -/* $Id: bsd-comp.c,v 1.4 1996/07/01 01:02:22 paulus Exp $ */ +/* $Id: bsd-comp.c,v 1.5 1996/07/01 05:31:02 paulus Exp $ */ /* Because this code is derived from the 4.3BSD compress source: * @@ -416,7 +416,7 @@ bsd_init(db, options, opt_len, unit, hdrlen, mru, debug, decomp) || options[1] != CILEN_BSD_COMPRESS || BSD_VERSION(options[2]) != BSD_CURRENT_VERSION || BSD_NBITS(options[2]) != db->maxbits - || decomp && db->lens == NULL) + || (decomp && db->lens == NULL)) return 0; if (decomp) { @@ -943,7 +943,7 @@ bsd_decompress(state, cmp, dmpp) } if (incode > max_ent + 2 || incode > db->maxmaxcode - || incode > max_ent && oldcode == CLEAR) { + || (incode > max_ent && oldcode == CLEAR)) { m_freem(mret); if (db->debug) { printf("bsd_decomp%d: bad code 0x%x oldcode=0x%x ",