diff --git a/doc/Changelog b/doc/Changelog index 1a5cfbb5b..08beef362 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -4,6 +4,7 @@ - iana portlist update. - Fix #702: New IPs for for h.root-servers.net. - Remove confusion comment from canonical_compare() function. + - Fix #705: ub_ctx_set_fwd() return value mishandled on windows. 31 August 2015: Wouter - changed windows setup compression to be more transparent. diff --git a/libunbound/libunbound.c b/libunbound/libunbound.c index a3a1d21a8..7c2509ba8 100644 --- a/libunbound/libunbound.c +++ b/libunbound/libunbound.c @@ -955,7 +955,7 @@ ub_ctx_resolvconf(struct ub_ctx* ctx, const char* fname) while (ptr) { numserv++; if((retval=ub_ctx_set_fwd(ctx, - ptr->IpAddress.String)!=0)) { + ptr->IpAddress.String))!=0) { free(info); return retval; }