Browse Source

Merge pull request #311 from ChristopherS/plFileSecure

Fix a crash in plFileSecure
Michael Hansen 12 years ago
parent
commit
a00fc521c7
  1. 2
      Sources/Plasma/Apps/plFileSecure/main.cpp

2
Sources/Plasma/Apps/plFileSecure/main.cpp

@ -110,7 +110,7 @@ void SecureFiles(const plFileName& dir, const plString& ext, uint32_t* key)
std::vector<plFileName> files = plFileSystem::ListDir(dir, ext.c_str());
for (auto iter = files.begin(); iter != files.end(); ++iter)
{
printf("securing: %s\n", iter->GetFileName());
printf("securing: %s\n", iter->GetFileName().c_str());
plSecureStream::FileEncrypt(*iter, key);
}
}

Loading…
Cancel
Save