Fixed the passing of the parsed server name/server file when handling files

via the .net plugin
This commit is contained in:
Robert Osfield 2004-11-13 16:18:15 +00:00
parent de4dc63ca7
commit 06f1b602e7

View File

@ -1223,6 +1223,8 @@ ReaderWriter::ReadResult Registry::read(const ReadFunctor& readFunctor)
ReaderWriter* rw = getReaderWriterForExtension("net");
if (rw)
{
std::string& filename = const_cast<std::string&>(readFunctor._filename);
filename = serverName+':'+serverFile;
return readFunctor.doRead(*rw);
}
else