aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/context.cpp')
-rw-r--r--lang/cpp/src/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp
index 1e8d8f09..444809af 100644
--- a/lang/cpp/src/context.cpp
+++ b/lang/cpp/src/context.cpp
@@ -155,7 +155,7 @@ int Error::toErrno() const
// static
bool Error::hasSystemError()
{
- return gpgme_err_code_from_syserror() == GPG_ERR_MISSING_ERRNO ;
+ return gpgme_err_code_from_syserror() != GPG_ERR_MISSING_ERRNO ;
}
// static