mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2025-12-30 19:28:08 +03:00
Allow to use fbegin without fend
This commit is contained in:
7
args.c
7
args.c
@@ -471,10 +471,8 @@ int yparse_args(int argc, char *argv[]) {
|
||||
}
|
||||
rep_config.connbytes_limit = num;
|
||||
break;
|
||||
case OPT_START_SECTION:
|
||||
if (section_iter != SECT_ITER_DEFAULT && section_iter != SECT_ITER_OUTSIDE)
|
||||
goto invalid_opt;
|
||||
|
||||
case OPT_START_SECTION:
|
||||
{
|
||||
struct section_config_t *nsect;
|
||||
ret = init_section_config(&nsect, rep_config.last_section);
|
||||
if (ret < 0) {
|
||||
@@ -487,6 +485,7 @@ int yparse_args(int argc, char *argv[]) {
|
||||
section_iter = SECT_ITER_INSIDE;
|
||||
|
||||
break;
|
||||
}
|
||||
case OPT_END_SECTION:
|
||||
if (section_iter != SECT_ITER_INSIDE)
|
||||
goto invalid_opt;
|
||||
|
||||
Reference in New Issue
Block a user