Change ReadAll/WriteAll to take rdcstr instead of char* filename

This commit is contained in:
baldurk
2020-03-31 18:45:36 +01:00
parent bfeb66d4ce
commit fbe2d1fbee
4 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ void rdclog_filename(const char *filename)
if(logfileHandle && previous.c_str())
{
rdcstr previousContents;
FileIO::ReadAll(previous.c_str(), previousContents);
FileIO::ReadAll(previous, previousContents);
if(!previousContents.empty())
FileIO::logfile_append(logfileHandle, previousContents.c_str(), previousContents.size());