mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
- fix buglet introduced in r17351 in find_param(). Closes #1193
This commit is contained in:
parent
e991303406
commit
cbd6e65744
@ -568,10 +568,11 @@ static int find_param(const char * const name)
|
||||
NULL
|
||||
};
|
||||
int i = index_in_str_array(params, name);
|
||||
if (i) {
|
||||
if (!(i == 4 || i == 5))
|
||||
i |= 0x80;
|
||||
}
|
||||
if (i < 0)
|
||||
return 0;
|
||||
if (!(i == 4 || i == 5))
|
||||
i |= 0x80;
|
||||
|
||||
return i;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user