🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8883

Re: patch to innd to screen wide crossposts

#8883
From: Rich Salz
Date: Sat, 29 Jun 1996 00:00
10 lines
931 bytes
>     OverCrossposted = Data.Groupcount > MAX_CROSSPOST
>       && !strstr(".announce",HDR(_newsgroups))

I hate it when people write !foo() when they should write foo() == NULL.

People who read your code will be much happier if you treat ! as logical
not, not a non-zero/zero invertor.
	/r$

Technical Details
Message-ID: <4r1u9v$ldh@paperboy.osf.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.mbox.zip!not-for-mail
References: <4p7fs0$1ci@cgl.ucsf.edu> <4p5fuu$ir0@augusta.math.psu.edu> <4p78rg$pno@cgl.ucsf.edu> <4quqm8$1tdg@bcx01.boco.co.gov>

Show Full Headers
Complete Article Headers
Message-ID: <4r1u9v$ldh@paperboy.osf.org>
Subject: Re: patch to innd to screen wide crossposts
Date: Sat, 29 Jun 1996 00:00:00 +0000
From: rsalz@osf.org (Rich Salz)
References: <4p7fs0$1ci@cgl.ucsf.edu> <4p5fuu$ir0@augusta.math.psu.edu> <4p78rg$pno@cgl.ucsf.edu> <4quqm8$1tdg@bcx01.boco.co.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 162694493
Organization: Open Software Foundation
Newsgroups: news.software.nntp