Rename variable to maintain consistency

This commit is contained in:
luca0N! 2023-12-01 07:59:14 -03:00
parent ec1f40e86c
commit cd4911519a
Signed by: luca0N
GPG Key ID: 5978D960572B449E
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@ void parse_config(SwgContext *ctx, std::string const &path) {
int blogCount = 0;
Blog *currentBlog = NULL;
std::ifstream cfg_stream(path);
std::ifstream cfgStream(path);
// Parse configuration file
for (std::string line; std::getline(cfg_stream, line);) {
for (std::string line; std::getline(cfgStream, line);) {
// Skip comment lines
if (line.c_str()[0] == '#')
continue;