🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82562

Re: INN and "ovgrouppat" - bug?

#82562
From: 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.)

Technical Details
Message-ID: <hik2gl$6fp$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!news.snarked.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <hik2gl$6fp$1@snarked.org>
Subject: Re: INN and "ovgrouppat" - bug?
Date: Wed, 13 Jan 2010 01:07:36 -0800
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 25
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-118-53-20.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1263373653 6649 71.118.53.20 (13 Jan 2010 09:07:33 GMT)
X-Complaints-To: newsmaster+complaints@snarked.org
NNTP-Posting-Date: Wed, 13 Jan 2010 09:07:33 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478