[cpp-sp COMMIT] /branches/REL_2/shibsp/binding/impl/ArtifactResolver.cpp

noreply at shibboleth.net noreply at shibboleth.net
Wed Apr 18 17:08:31 BST 2012


Author: scantor
Date: Wed Apr 18 17:08:30 2012
New Revision: 3627

URL: http://svn.shibboleth.net/view/cpp-sp?rev=3627&view=rev
Log:
Fix to stream c'tor

Modified:
    branches/REL_2/shibsp/binding/impl/ArtifactResolver.cpp

Modified: branches/REL_2/shibsp/binding/impl/ArtifactResolver.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/binding/impl/ArtifactResolver.cpp?rev=3627&r1=3626&r2=3627&view=diff
==============================================================================
--- branches/REL_2/shibsp/binding/impl/ArtifactResolver.cpp (original)
+++ branches/REL_2/shibsp/binding/impl/ArtifactResolver.cpp Wed Apr 18 17:08:30 2012
@@ -197,7 +197,7 @@
                         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 {



More information about the commits mailing list