[git] GnuPG - branch, master, updated. gnupg-2.1.17-100-g9ae0b81

by Werner Koch cvs at cvs.gnupg.org
Mon Jan 23 11:41:58 CET 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  9ae0b81e4ff08712da642456d0164f81924a91e4 (commit)
      from  88ade475c56ac3712d6bd6d41ae38e1421dcb320 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9ae0b81e4ff08712da642456d0164f81924a91e4
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Jan 23 11:39:10 2017 +0100

    dirmngr: Print debug message only with --debug.
    
    * dirmngr/dns-stuff.c (libdns_init): Call log_debug only if opt_debug
    is set.
    --
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/dirmngr/dns-stuff.c b/dirmngr/dns-stuff.c
index eae888b..adeb392 100644
--- a/dirmngr/dns-stuff.c
+++ b/dirmngr/dns-stuff.c
@@ -483,7 +483,8 @@ libdns_init (void)
            * DNS then Files, which is not classic; FreeBSD
            * /usr/src/lib/libc/net/gethostnamadr.c defines default_src[] which
            * is Files then DNS, which is. */
-          log_debug ("dns: fallback resolution order, files then DNS");
+          if (opt_debug)
+            log_debug ("dns: fallback resolution order, files then DNS\n");
           ld.resolv_conf->lookup[0] = 'f';
           ld.resolv_conf->lookup[1] = 'b';
           ld.resolv_conf->lookup[2] = '\0';

-----------------------------------------------------------------------

Summary of changes:
 dirmngr/dns-stuff.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list