Rename variable to maintain consistency
This commit is contained in:
parent
ec1f40e86c
commit
cd4911519a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue