https://issues.shibboleth.net/jira/browse/SSPCPP-540
[shibboleth/cpp-sp.git] / 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))
             )
         );
 }