diff options
author | brian <brian@FreeBSD.org> | 1999-05-09 20:02:29 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-05-09 20:02:29 +0000 |
commit | 00d71de444cebd8e8fb9f1a6f538b0e25756fcbd (patch) | |
tree | 35a86aa77f33435584f120d89d51596207ec30c1 /usr.sbin/ppp/log.c | |
parent | 81c1d3f4c6f3f0dcb719616e43e48c3b8d72888e (diff) | |
download | FreeBSD-src-00d71de444cebd8e8fb9f1a6f538b0e25756fcbd.zip FreeBSD-src-00d71de444cebd8e8fb9f1a6f538b0e25756fcbd.tar.gz |
Deal with the fact that as we now mbuf_Read the fsm
header in fsm_Input() we often end up with a NULL mbuf.
Deal with a possible NULL mbuf being passed into
mbuf_Prepend().
Adjust some spacing to make things more consistent.
Diffstat (limited to 'usr.sbin/ppp/log.c')
-rw-r--r-- | usr.sbin/ppp/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/log.c b/usr.sbin/ppp/log.c index 93cea2e..1673f75 100644 --- a/usr.sbin/ppp/log.c +++ b/usr.sbin/ppp/log.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: log.c,v 1.35 1998/08/21 18:10:14 brian Exp $ + * $Id: log.c,v 1.36 1999/03/07 11:54:41 brian Exp $ */ #include <sys/types.h> @@ -364,7 +364,7 @@ log_DumpBp(int lev, const char *hdr, const struct mbuf *bp) } void -log_DumpBuff(int lev, const char *hdr, const u_char * ptr, int n) +log_DumpBuff(int lev, const char *hdr, const u_char *ptr, int n) { if (log_IsKept(lev)) { char buf[50]; |