Bugzilla – Bug 705
ub_ctx_set_fwd() return value mishandled
Last modified: 2015-09-22 11:01:03 CEST
Created attachment 296 [details]
patch to correct the return value
In ub_ctx_resolvconf() the code does "(retval = ub_ctx_set_fwd() != 0). Due to != having higher precedence than = this means all non 0 return values will be treated as 1.
Thank you for the patch, I have applied it.
By the way that code is ifdef for windows, not OpenBSD, where it would use line 996.
Best regards, Wouter