mirror of
https://github.com/kakwa/uts-server
synced 2025-07-04 20:47:09 +02:00
fix loglevel determination
This commit is contained in:
parent
962bbeda72
commit
e5f7732846
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