🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by D. Stussy Wed, 13 Jan 2010 09:07
Re: INN and "ovgrouppat" - bug?
#82562
Author: D. Stussy
Date: Wed, 13 Jan 2010 09:07
25 lines
1768 bytes
I think that traversing from high to low (right to left) may be better.

    for (i = OVnumpatterns - 1; i >= 0; i--) {
        switch (OVpatterns[i][0]) {
        case '!':
        case '@':
            if (uwildmat(group, &OVpatterns[i][1])) {
                return false;
            }
            break;
        default:
            if (uwildmat(group, OVpatterns[i]))
                return true;
        }
    }
    return false;

delete variable "wanted" as unnecessary.


(I had an overview problem which temporarily lost the reply.  It's in my
spool somewhere.  I'm now rebuilding my overview - and without this change
since it doesn't really make a difference on my server.)

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads