[shibboleth-sp2] 01/19: SSPCPP-704 Fix 'assignment as boolean'
Ferenc Wágner
wferi at moszumanska.debian.org
Wed Nov 15 22:56:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
wferi pushed a commit to branch maint-2.6
in repository shibboleth-sp2.
commit 467e62bf6a41d72b77b4d77f450259f1b3fb080a
Author: Rod Widdowson <rdw at steadingsoftware.com>
Date: 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.");
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list