mirror of
https://github.com/kakwa/uts-server
synced 2025-07-04 12:37:08 +02:00
fix loglevel determination
This commit is contained in:
parent
aca650fa6f
commit
ee5870509a
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue