X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Fhandler%2Fimpl%2FLogoutHandler.cpp;h=695db99748bef11f51f133a89618b4deb17e995d;hb=13772f2ba84682f03186b89984455dd8b8be6019;hp=336492f17ae0cd9ee97939860b47555b3d9ec3c5;hpb=82a33b06201be89915a34dfc7a53de13b7f2455b;p=shibboleth%2Fsp.git diff --git a/shibsp/handler/impl/LogoutHandler.cpp b/shibsp/handler/impl/LogoutHandler.cpp index 336492f..695db99 100644 --- a/shibsp/handler/impl/LogoutHandler.cpp +++ b/shibsp/handler/impl/LogoutHandler.cpp @@ -64,18 +64,18 @@ pair LogoutHandler::run(SPRequest& request, bool isHandler) const { // If we're inside a chain, so do nothing. if (getParent()) - return make_pair(false,0); + return make_pair(false,0L); // If this isn't a LogoutInitiator, we only "continue" a notification loop, rather than starting one. if (!m_initiator && !request.getParameter("notifying")) - return make_pair(false,0); + return make_pair(false,0L); // Try another front-channel notification. No extra parameters and the session is implicit. pair ret = notifyFrontChannel(request.getApplication(), request, request); if (ret.first) return ret; - return make_pair(false,0); + return make_pair(false,0L); } void LogoutHandler::receive(DDF& in, ostream& out) @@ -123,7 +123,7 @@ pair LogoutHandler::notifyFrontChannel( // Fetch the next front notification URL and bump the index for the next round trip. string loc = application.getNotificationURL(request.getRequestURL(), true, index++); if (loc.empty()) - return make_pair(false,0); + return make_pair(false,0L); const URLEncoder* encoder = XMLToolingConfig::getConfig().getURLEncoder();