Am 03.12.2019 07:22 schrieb Willy Tarreau:
I suspect that on other platforms, logging 0 characters from a NULL
pointer
is OK and results in nothing being emitted while on OpenBSD it still
checks
the pointer's validity before detecting it doesn't need it, resulting
in the
error. Could you please try to change the last line Aleks pointed like
this:
- (int)host.data, host.area, sep, "");
+ (int)host.data, host.area ? host.area : "", sep, "");
I suspect it will be enough.
Indeed, this does the job!
Thanks.
--
pb