]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #705: ub_ctx_set_fwd() return value mishandled on windows.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 22 Sep 2015 08:59:10 +0000 (08:59 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 22 Sep 2015 08:59:10 +0000 (08:59 +0000)
git-svn-id: file:///svn/unbound/trunk@3489 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
libunbound/libunbound.c

index 1a5cfbb5bf4e97d2b01bfacb3903a073c576fed3..08beef362f8b4dac8d9b569683344acd87b33199 100644 (file)
@@ -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.
index a3a1d21a8de83f4f138efd6cadf19d9a86120521..7c2509ba8d504cc72267e93aa21c51e50acca5d9 100644 (file)
@@ -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;
                                }