diff --git a/src/passphrase_cache.hxx b/src/passphrase_cache.hxx index 2e33323..1f993f7 100644 --- a/src/passphrase_cache.hxx +++ b/src/passphrase_cache.hxx @@ -14,8 +14,9 @@ namespace pEp { for_each_passphrase([&](std::string passphrase) { status = ::config_passphrase(session, passphrase.c_str()); - if (status) + if (status) { return true; + } status = f(session, a...); return status != PEP_PASSPHRASE_REQUIRED && status != PEP_WRONG_PASSPHRASE; @@ -23,6 +24,6 @@ namespace pEp { return status; } -}; // namespace pEp +} // namespace pEp #endif // LIBPEPADAPTER_PASSPHRASE_CACHE_HXX