Eric Wong writes:

> +# flesh out common NNTP-specific data structures
> +sub nntp_common_init ($) {
> +     my ($self) = @_;
> +     my $cfg = $self->{config};
> +     my $nn_args = {}; # scheme://authority => Net::NNTP->new arg
> +     for my $url (sort keys %{$self->{nntp}}) {
> +             my $sec = uri_section(URI->new($url));
> +
> +             # Debug and Timeout are is passed to Net::NNTP->new

s/ is//

> +             my $v = cfg_bool($cfg, 'nntp.Debug', $url);
> +             $nn_args->{$sec}->{Debug} = $v if defined $v;
> +             my $to = cfg_intvl($cfg, 'nntp.Timeout', $url);
> +             $nn_args->{$sec}->{Timeout} = $to if $to;

Reply via email to