🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #34796

Re: slrn score article which has no specific header

#34796
From: John E. Davis
Date: Wed, 02 Jul 1997 00:00
34 lines
1455 bytes
On 2 Jul 1997 07:06:54 GMT, Kikutani Makoto <kikutani@jdc.ericsson.se>
wrote:
>But it doesn't score articles which have no Content-Type:.

Does this patch solve the problem?  If so, I will include it in
0.9.4.2, which I intend to release this weekend.

--- ../../release/slrn/src/score.c	Fri Jun 20 18:02:47 1997
+++ score.c	Wed Jul  2 15:52:12 1997
@@ -239,6 +239,16 @@
 	     
 	     if (s == NULL)
 	       {
+		  if (srt->not_flag)
+		    {
+		       /* Match */
+		       if (or_type)
+			 break;
+		       
+		       goto next_srt;
+		    }
+		  
+		  /* Match failed */
 		  if (or_type) goto next_srt;
 		  break;
 	       }

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

Technical Details
Message-ID: <slrn5rld3u.sar.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <5pcume$n9m@newstoo.ericsson.se>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5rld3u.sar.davis@aluche.mit.edu>
Subject: Re: slrn score article which has no specific header
Date: Wed, 02 Jul 1997 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <5pcume$n9m@newstoo.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 254253438
Organization: Center for Space Research
Reply-To: davis@space.mit.edu
Newsgroups: news.software.readers