From cd4911519a689bb887c864a33e83c7a2387e3876 Mon Sep 17 00:00:00 2001 From: luca0N! Date: Fri, 1 Dec 2023 07:59:14 -0300 Subject: [PATCH] Rename variable to maintain consistency --- src/ConfigUtils.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ConfigUtils.cxx b/src/ConfigUtils.cxx index fa616b1..7395855 100644 --- a/src/ConfigUtils.cxx +++ b/src/ConfigUtils.cxx @@ -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;