SF.net SVN: mahogany:[7551] trunk/M/src/modules/crypt/PGPEngine.cpp

[email protected] Thu, 06 Nov 2008 13:48:10 +0000
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
Revision: 7551
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7551&view=rev
Author:   vadz
Date:     2008-11-06 13:48:09 +0000 (Thu, 06 Nov 2008)

Log Message:
-----------
log GPG messages in release build too

Modified Paths:
--------------
    trunk/M/src/modules/crypt/PGPEngine.cpp

Modified: trunk/M/src/modules/crypt/PGPEngine.cpp
===================================================================
--- trunk/M/src/modules/crypt/PGPEngine.cpp	2008-10-13 21:07:37 UTC (rev 7550)
+++ trunk/M/src/modules/crypt/PGPEngine.cpp	2008-11-06 13:48:09 UTC (rev 7551)
@@ -366,11 +366,9 @@
       {
          String line = errText.ReadLine();
 
-#ifdef DEBUG
-         // In debug mode, log everything
+         // Log all GPG messages, this is useful for diagnosing problems
          if ( log )
             log->AddMessage(line);
-#endif // DEBUG
 
          if ( line.StartsWith(_T("[GNUPG:] "), &line) )
          {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/