[cpp-sp] 01/02: Fix compile nit.

Scott Cantor cantor.2 at osu.edu
Fri Apr 27 16:23:55 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=7f708de0422af77a49656d34f7cec1f509540741

commit 7f708de0422af77a49656d34f7cec1f509540741
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Apr 27 16:21:42 2018 -0400

    Fix compile nit.
---
 shibsp/ServiceProvider.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/ServiceProvider.cpp b/shibsp/ServiceProvider.cpp
index bf65c83..ec13bfe 100644
--- a/shibsp/ServiceProvider.cpp
+++ b/shibsp/ServiceProvider.cpp
@@ -616,7 +616,7 @@ pair<bool,long> ServiceProvider::doExport(SPRequest& request, bool requireSessio
                 app->setHeader(request, "Shib-Session-Index", hval);
 
             app->setHeader(request, "Shib-Session-Expires", boost::lexical_cast<string>(session->getExpiration()).c_str());
-            pair<bool,unsigned int> timeout = sessionProps ? sessionProps->getUnsignedInt("timeout") : make_pair(false, 0);
+            pair<bool,unsigned int> timeout = sessionProps ? sessionProps->getUnsignedInt("timeout") : pair<bool,unsigned int>(false, 0);
             if (timeout.first && timeout.second > 0) {
                 app->setHeader(request, "Shib-Session-Inactivity", boost::lexical_cast<string>(session->getLastAccess() + timeout.second).c_str());
             }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list