mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 18:27:12 +02:00
store server status in a more compact format
This commit is contained in:
parent
4d7f411bdc
commit
017988f99e
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ void Config::save()
|
|||
init();
|
||||
std::ofstream ofs(filename_.c_str(), std::ofstream::out | std::ofstream::trunc);
|
||||
json clients = {{"ConfigVersion", 2}, {"Groups", getGroups()}};
|
||||
ofs << std::setw(4) << clients;
|
||||
// ofs << std::setw(4) << clients;
|
||||
ofs << clients;
|
||||
ofs.close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue