result of 'list active'

Russ Allbery rra at stanford.edu
Wed Apr 12 02:49:01 UTC 2000


Blackened Cajun Fluffy <supersede at india.com> writes:

> It's better than it looks at first glance, because the shortcut only
> gets used if the list command matches a single group.  Note that there
> is still a "has been renamed" message in post.c which is less
> informative than it used to be, and that one *would* be a pain to fix.

> *** commands.c.old	Mon Apr 10 05:18:33 2000
> --- commands.c	Mon Apr 10 05:26:38 2000
> ***************
> *** 419,425 ****
>   	lp = &INFOactive;
>   	if (ac == 3) {
>   	    wildarg = av[2];
> ! 	    if (OVgroupstats(wildarg, &lo, &hi, NULL, &flag)) {
>   		Reply("%d %s.\r\n", NNTP_LIST_FOLLOWS_VAL, lp->Format);
>   		Printf("%s %010d %010d %c\r\n.\r\n", wildarg, hi, lo, flag);
>   		return;
> --- 419,425 ----
>   	lp = &INFOactive;
>   	if (ac == 3) {
>   	    wildarg = av[2];
> ! 	    if (OVgroupstats(wildarg, &lo, &hi, NULL, &flag) && flag != '=') {
>   		Reply("%d %s.\r\n", NNTP_LIST_FOLLOWS_VAL, lp->Format);
>   		Printf("%s %010d %010d %c\r\n.\r\n", wildarg, hi, lo, flag);
>   		return;

Thanks for this patch; I've applied it with a comment to explain what's
going on here.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-patches mailing list