From ee09581aa56617fd71770fea5afeae92ef03a652 Mon Sep 17 00:00:00 2001 From: cantor Date: Tue, 2 Feb 2010 18:33:35 +0000 Subject: [PATCH] Fix duplicate variable decl. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@3228 cb58f699-b61c-0410-a6fe-9272a202ed29 --- shibsp/handler/impl/SessionInitiator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shibsp/handler/impl/SessionInitiator.cpp b/shibsp/handler/impl/SessionInitiator.cpp index 8ee76b3..d1eeffa 100644 --- a/shibsp/handler/impl/SessionInitiator.cpp +++ b/shibsp/handler/impl/SessionInitiator.cpp @@ -161,7 +161,7 @@ pair SessionInitiator::run(SPRequest& request, bool isHandler) const // Log it and attempt to recover relay state so we can get back. log(SPRequest::SPError, ex.what()); log(SPRequest::SPInfo, "trapping SessionInitiator error condition and returning to target location"); - const char* flag = request.getParameter("target"); + flag = request.getParameter("target"); string target(flag ? flag : ""); recoverRelayState(request.getApplication(), request, request, target, false); return make_pair(true, request.sendRedirect(target.c_str())); -- 2.1.4