https://issues.shibboleth.net/jira/browse/SSPCPP-540
authorscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Sat, 8 Dec 2012 01:55:45 +0000 (01:55 +0000)
committerscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Sat, 8 Dec 2012 01:55:45 +0000 (01:55 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3834 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/Application.cpp

index e41f8f1..cf48efa 100644 (file)
@@ -115,7 +115,7 @@ void Application::clearAttributeHeaders(SPRequest& request) const
                 &SPRequest::clearHeader,
                 boost::ref(request),
                 boost::bind(&string::c_str, boost::bind(&pair<string,string>::first, _1)),
-                boost::bind(&string::c_str, boost::bind(&pair<string,string>::first, _1))
+                boost::bind(&string::c_str, boost::bind(&pair<string,string>::second, _1))
                 )
             );
         return;
@@ -154,7 +154,7 @@ void Application::clearAttributeHeaders(SPRequest& request) const
             &SPRequest::clearHeader,
             boost::ref(request),
             boost::bind(&string::c_str, boost::bind(&pair<string,string>::first, _1)),
-            boost::bind(&string::c_str, boost::bind(&pair<string,string>::first, _1))
+            boost::bind(&string::c_str, boost::bind(&pair<string,string>::second, _1))
             )
         );
 }