this = compile_modsingle(NULL, comp, modref, &modname);
if (!this) {
cf_log_err(cf_sectiontoitem(cs),
- "Failed to parse %s section.\n",
+ "Errors parsing %s section.\n",
cf_section_name1(cs));
return -1;
}
modrefname = cf_section_name2(scs);
if (!modrefname) {
cf_log_err(cf_sectiontoitem(cs),
- "Failed to parse %s sub-section.\n",
+ "Errors parsing %s sub-section.\n",
cf_section_name1(scs));
return -1;
}
DEBUG2(" }");
- if (!flag) {
+ if (!flag && server) {
DEBUG("WARNING: Server %s is empty, and will do nothing!",
server);
}
* one for backwards compatibility.
*/
if (!null_server) {
- DEBUG2("WARNING: Please update your configuration to use virtual servers!");
DEBUG2("server {");
if (load_byserver(config) < 0) {
DEBUG2("}");