diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-09-25 21:04:25 +0300 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-09-26 03:12:25 +0300 |
commit | 086718e8f783889dd1d13c4ade51b6babd327521 (patch) | |
tree | ec3b2cd2e54332d3e544ab30b5b95dff998b5b81 /ffserver_config.c | |
parent | 83411d73313e4c5a3438e814d8f49287d726a15c (diff) |
ffserver: drop unneeded branching
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Diffstat (limited to 'ffserver_config.c')
-rw-r--r-- | ffserver_config.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |