[cvs] bogofilter/src main.c,1.41,1.42 bogoconfig.c,1.51,1.52 bogofilter.c,1.10,1.11 bogofilter.h,1.4,1.5 register.c,1.11,1.12 register.h,1.2,1.3

Matthias Andree matthias.andree at gmx.de
Fri May 9 22:19:14 CEST 2003


relson at users.sourceforge.net writes:

>      process_args_and_config_file(argc, argv, true);
>  
>      /* open all wordlists */
>      open_wordlists((run_type == RUN_NORMAL) ? DB_READ : DB_WRITE);
>  
> -    out = output_setup();
> +    fpo = output_setup();
>  
>      initialize(NULL);
>  
>      if (run_type & (RUN_NORMAL | RUN_UPDATE)) {
> -	exitcode = classify(argc, argv, out);
> +	exitcode = arg_foreach(classify, argc, argv);

Is this the right thing to do? Does arg_foreach iterate over options as
well?

-- 
Matthias Andree




More information about the bogofilter-dev mailing list