Fix improper formatting in config/parse module.
The prior formatting worked but was confusing to read.
@@ -1234,12 +1234,14 @@ cfgFileLoadPart(String **config, const Buffer *configPart)
// Create the result config file
if (*config == NULL)
+ {
*config = strNew();
+ }
// Else add an LF in case the previous file did not end with one
else
+ strCat(*config, LF_STR);
// Add the config part to the result config file
- strCat(*config, LF_STR);
strCat(*config, configPartStr);
}
}
