Codechange: Even more std::string usage in file IO.

This commit is contained in:
Michael Lutz
2020-12-06 21:11:47 +01:00
parent 65f65ad2ad
commit 5cbb2da794
9 changed files with 48 additions and 63 deletions

View File

@@ -543,7 +543,7 @@ void ClientNetworkContentSocketHandler::AfterDownload()
if (this->curInfo->type == CONTENT_TYPE_BASE_MUSIC) {
/* Music can't be in a tar. So extract the tar! */
ExtractTar(fname.c_str(), BASESET_DIR);
ExtractTar(fname, BASESET_DIR);
unlink(fname.c_str());
}