diff --git a/ffserver_config.c b/ffserver_config.c index 06d9700479..dbfda8d1ba 100644 --- a/ffserver_config.c +++ b/ffserver_config.c @@ -137,8 +137,9 @@ void ffserver_parse_acl_row(FFServerStream *stream, FFServerStream* feed, "%s:%d: ACL refers to invalid host or IP address '%s'\n", filename, line_num, arg); goto bail; - } else - acl.last = acl.first; + } + + acl.last = acl.first; ffserver_get_arg(arg, sizeof(arg), &p);