mirror of
https://github.com/kakwa/uts-server
synced 2024-11-11 12:08: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++) {
|
for (int j = 0;; j++) {
|
||||||
if (prioritynames[j].c_name == NULL)
|
if (prioritynames[j].c_name == NULL)
|
||||||
break;
|
break;
|
||||||
if (strcmp(prioritynames[j].c_name, value))
|
if (strcmp(prioritynames[j].c_name, value) == 0) {
|
||||||
ct->loglevel = prioritynames[j].c_val;
|
ct->loglevel = prioritynames[j].c_val;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user