[cpp-sp] 01/09: SSPCPP-704 Fix 'assignment as boolean'
Scott Cantor
cantor.2 at osu.edu
Mon Nov 13 11:46:25 EST 2017
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-2.6
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=467e62bf6a41d72b77b4d77f450259f1b3fb080a
commit 467e62bf6a41d72b77b4d77f450259f1b3fb080a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jul 5 09:26:41 2016 +0100
SSPCPP-704 Fix 'assignment as boolean'
https://issues.shibboleth.net/jira/browse/SSPCPP-704
---
shibsp/impl/StorageServiceSessionCache.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shibsp/impl/StorageServiceSessionCache.cpp b/shibsp/impl/StorageServiceSessionCache.cpp
index b6d6642..4659c4d 100644
--- a/shibsp/impl/StorageServiceSessionCache.cpp
+++ b/shibsp/impl/StorageServiceSessionCache.cpp
@@ -1633,7 +1633,7 @@ Session* SSCache::find(const Application& app, const char* key, const char* clie
if (!ver)
return nullptr;
- if (lastAccess = 0) {
+ if (0 == lastAccess) {
m_log.error("session (ID: %s) did not report time of last access", key);
throw RetryableProfileException("Your session has expired, and you must re-authenticate.");
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list