Update Restart Hostname

This commit is contained in:
jomjol
2021-03-21 20:56:30 +01:00
parent a0ebf354b1
commit c6ae989b82
9 changed files with 15 additions and 7 deletions

View File

@@ -292,11 +292,14 @@ bool ChangeHostName(std::string fn, std::string _newhostname)
for (int i = 0; i < neuesfile.size(); ++i)
{
printf(neuesfile[i].c_str());
fputs(neuesfile[i].c_str(), pFile);
}
fclose(pFile);
printf("*** Update hostname done ***\n");
return true;
}