mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-27 12:16:31 +00:00
y != yes
This commit is contained in:
@@ -266,7 +266,6 @@ static bool _http_get_param_true(struct evkeyvalq *params, const char *key) {
|
||||
if ((value_str = evhttp_find_header(params, key)) != NULL) {
|
||||
if (
|
||||
value_str[0] == '1'
|
||||
|| value_str[0] == 'y'
|
||||
|| !evutil_ascii_strcasecmp(value_str, "true")
|
||||
|| !evutil_ascii_strcasecmp(value_str, "yes")
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user