fix debuglevel not being honored in config

This commit is contained in:
Ron Pedde 2006-06-01 04:21:31 +00:00
parent b5e2f92f19
commit 704822faa0

View File

@ -450,7 +450,7 @@ void _conf_apply_element(char *section, char *key, char *cold, char *cnew) {
}
}
if((strcmp(section,"general")==0) && (strcmp(key,"loglevel")==0)) {
if((strcmp(section,"general")==0) && (strcmp(key,"debuglevel")==0)) {
/* loglevel changed */
err_setlevel(atoi(cnew));
}