[cpp-sp] branch master updated: Fix casting issue, and a comparison bug.
Scott Cantor
cantor.2 at osu.edu
Mon Jun 4 21:02:54 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor 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=2cd056f04eb927967808157b37f7efb7d183622e
The following commit(s) were added to refs/heads/master by this push:
new 2cd056f Fix casting issue, and a comparison bug.
2cd056f is described below
commit 2cd056f04eb927967808157b37f7efb7d183622e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jun 4 21:00:57 2018 -0400
Fix casting issue, and a comparison bug.
---
shibsp/impl/XMLServiceProvider.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shibsp/impl/XMLServiceProvider.cpp b/shibsp/impl/XMLServiceProvider.cpp
index 7661001..0275e59 100644
--- a/shibsp/impl/XMLServiceProvider.cpp
+++ b/shibsp/impl/XMLServiceProvider.cpp
@@ -631,7 +631,7 @@ boost::shared_ptr<Application> XMLConfigImpl::findExternalOverride(const char* i
}
}
- return nullptr;
+ return boost::shared_ptr<XMLApplication>();
}
const Application* XMLConfig::getApplication(const char* applicationId) const
@@ -854,7 +854,7 @@ bool XMLConfig::unregListener(const char* address, Remoted* current)
m_listenerMap.erase(address);
}
}
- else if (i->second.second = current) {
+ else if (i->second.second == current) {
if (!i->second.first)
m_listenerMap.erase(address);
else
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list