From f2426b77966c816411b4661ebe5f076bd95d7db5 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 22 Sep 2015 08:59:10 +0000 Subject: [PATCH] - Fix #705: ub_ctx_set_fwd() return value mishandled on windows. git-svn-id: file:///svn/unbound/trunk@3489 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 1 + libunbound/libunbound.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.47.2