mirror of
https://github.com/kakwa/uts-server
synced 2024-12-04 23:15:54 +01:00
fix loglevel determination
This commit is contained in:
parent
aca650fa6f
commit
ee5870509a
@ -221,8 +221,10 @@ int set_params(rfc3161_context *ct, char *conf_file) {
|
||||
for (int j = 0;; j++) {
|
||||
if (prioritynames[j].c_name == NULL)
|
||||
break;
|
||||
if (strcmp(prioritynames[j].c_name, value))
|
||||
if (strcmp(prioritynames[j].c_name, value) == 0) {
|
||||
ct->loglevel = prioritynames[j].c_val;
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user