> On Jan 8, 2018, at 9:39 AM, Stephen Hemminger <[email protected]> > wrote: > > On Mon, 8 Jan 2018 09:34:23 -0600 > Keith Wiles <[email protected]> wrote: > >> + if (!m || !f) { >> + fprintf(stderr, "MBUF and/or FILE pointer is NULL\n"); >> + return; >> + } > > Calling with f of NULL is user error, let it still die in fprintf.
I thought about that too, but this routine is a debug routine does it really matter? Regards, Keith

