[cpp-sp] branch master updated: SSPCPP-704 Fix 'assignment as boolean'

Rod Widdowson rdw at steadingsoftware.com
Tue Jul 5 04:27:55 EDT 2016


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=5504c798910bdcd9f714ecfa60462d82377fddd2

The following commit(s) were added to refs/heads/master by this push:
       new  5504c79   SSPCPP-704 Fix 'assignment as boolean'
5504c79 is described below

commit 5504c798910bdcd9f714ecfa60462d82377fddd2
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