[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_3_BRANCH: kdepim/libkdenetwork/gpgmepp
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-10-17 21:14:22
Message-ID: 20041017211422.3DDC016C78 () office ! kde ! org
[Download RAW message or body]

CVS commit by mutz: 

From HEAD: Fix isNull() for FooResult classes. They previously ignored the errors set in them.


  M +1 -1      result_p.h   1.1.4.1


--- kdepim/libkdenetwork/gpgmepp/result_p.h  #1.1:1.1.4.1
@@ -57,5 +57,5 @@ GpgME::x::~x() { \
 }
 
-#define make_isNull(x) bool GpgME::x::isNull() const { return !d; }
+#define make_isNull(x) bool GpgME::x::isNull() const { return !d && !error(); }
 
 #define make_standard_stuff(x) \


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic