https://issues.shibboleth.net/jira/browse/SSPCPP-540
authorScott Cantor <cantor.2@osu.edu>
Sat, 8 Dec 2012 01:55:45 +0000 (01:55 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sat, 8 Dec 2012 01:55:45 +0000 (01:55 +0000)
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))
             )
         );
 }