Fix to stream c'tor
authorscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 18 Apr 2012 16:08:30 +0000 (16:08 +0000)
committerscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 18 Apr 2012 16:08:30 +0000 (16:08 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3627 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/binding/impl/ArtifactResolver.cpp

index 840929e..bfdc867 100644 (file)
@@ -197,7 +197,7 @@ ArtifactResponse* ArtifactResolver::resolve(
                         loc = loc.substr(7);
                     XMLToolingConfig::getConfig().getPathResolver()->resolve(loc, PathResolver::XMLTOOLING_RUN_FILE);
                     loc += '/' + SAMLArtifact::toHex(artifact.getMessageHandle());
-                    ifstream in(loc);
+                    ifstream in(loc.c_str());
                     if (in) {
                         auto_ptr<XMLObject> xmlObject;
                         try {