Re: smtpd: trace and vfprintf %s NULL

2021-03-31 Thread Eric Faurot
Any objection or ok? On Sat, Mar 27, 2021 at 12:52:11PM +0100, Eric Faurot wrote: > Hello. > > I get reports from people seeing "vfprintf %s NULL" in their logs > recently. The problem is in a function that should be fixed, > but that function is only expected to but used for debug traces. > > Th

smtpd: trace and vfprintf %s NULL

2021-03-27 Thread Eric Faurot
Hello. I get reports from people seeing "vfprintf %s NULL" in their logs recently. The problem is in a function that should be fixed, but that function is only expected to but used for debug traces. This diff turns log_trace() into a macro, so the parameters are not needlessly evaluated when trac