write max_size into config

This commit is contained in:
tastytea 2018-04-14 15:19:54 +02:00
parent 410a2dc7ce
commit 1a5e270696
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (mastorss
VERSION 0.5.3
VERSION 0.5.4
LANGUAGES CXX
)

View File

@ -50,6 +50,11 @@ std::uint16_t read_config(string &instance, string &access_token, string &feedur
{
max_size = config[profile]["max_size"].asUInt();
}
else
{
config[profile]["max_size"] = max_size;
config_changed = true;
}
}
else
{