Date: Mon, 8 Dec 1997 12:22:14 -0800 (PST) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp deflate.c Message-ID: <199712082022.MAA20668@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1997/12/08 12:22:13 PST
Modified files:
usr.sbin/ppp deflate.c
Log:
Deal with inflate() returning avail_in == avail_out == 0
We must call inflate again in case there's any pending output
despite our input buffer being empty. If the output buffer
is in fact already flushed, inflate() returns Z_BUF_ERROR.
There isn't really an error !
Revision Changes Path
1.3 +18 -2 src/usr.sbin/ppp/deflate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712082022.MAA20668>
