diff options
-rw-r--r-- | ffserver.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ffserver.c b/ffserver.c index 6bc447c671..b9718d843b 100644 --- a/ffserver.c +++ b/ffserver.c @@ -4275,12 +4275,12 @@ static int parse_ffconfig(const char *filename) filename, line_num); errors++; } else { - if (!redirect->feed_filename[0]) { - fprintf(stderr, "%s:%d: No URL found for <Redirect>\n", - filename, line_num); - errors++; - } - redirect = NULL; + if (!redirect->feed_filename[0]) { + fprintf(stderr, "%s:%d: No URL found for <Redirect>\n", + filename, line_num); + errors++; + } + redirect = NULL; } } else if (!strcasecmp(cmd, "LoadModule")) { get_arg(arg, sizeof(arg), &p); |