[git] GpgOL - branch, master, updated. gpgol-1.4.0-287-g184b78e

by Andre Heinecke cvs at cvs.gnupg.org
Fri Aug 25 13:52:03 CEST 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 "GnuPG extension for MS Outlook".

The branch, master has been updated
       via  184b78e3b865bf00006c3e02928452de0cae6d9c (commit)
      from  5b76bd71f39d8730fdb56b761072d7be99050a5c (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 184b78e3b865bf00006c3e02928452de0cae6d9c
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Fri Aug 25 13:51:09 2017 +0200

    Only do debug output if enableDebug is set
    
    * src/common_indep.c (do_log): Abort if enable_debug is
    not set.
    
    --
    This is more in line with what users expect.

diff --git a/src/common_indep.c b/src/common_indep.c
index a3009c7..7f4415f 100644
--- a/src/common_indep.c
+++ b/src/common_indep.c
@@ -530,6 +530,9 @@ do_log (const char *fmt, va_list a, int w32err, int err,
     return;
 
 #ifdef HAVE_W32_SYSTEM
+  if (!opt.enable_debug)
+    return;
+
   if (lock_log ())
     return;
 #endif

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

Summary of changes:
 src/common_indep.c | 3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
GnuPG extension for MS Outlook
http://git.gnupg.org




More information about the Gnupg-commits mailing list