Fix typo in FileOps::extractFromZip()

Use the correct parameter in the exception message.
This commit is contained in:
Robert Knight 2011-08-22 19:08:28 +01:00
parent a056e631e4
commit 66a6afcb01

View file

@ -112,7 +112,7 @@ void FileOps::extractFromZip(const char* zipFilePath, const char* src, const cha
std::ofstream outputFile(dest,std::ofstream::binary);
if (!outputFile.good())
{
throw IOException("Unable to write to file " + std::string(src));
throw IOException("Unable to write to file " + std::string(dest));
}
while (true)
{