Article View: news.software.nntp
Article #13244INN 1.5 inews: don't print "article would be mailed" incorrectly
From: Jonathan I. Kamens
Date: Thu, 12 Dec 1996 00:00
Date: Thu, 12 Dec 1996 00:00
43 lines
1699 bytes
1699 bytes
(Posted and mailed as shown in the header.)
INN 1.5's inews frontend shouldn't print the "article would be mailed"
message in "Dump" mode if the article has been approved, since in fact
it would *not* be mailed -- it would be posted to the server, if it
were being posted rather than dumped.
Here's a patch:
--- inews.c 1996/12/12 16:36:59 1.1.1.1
+++ inews.c 1996/12/12 20:27:22
@@ -990,15 +990,16 @@
case NF_FLAG_OK:
break;
case NF_FLAG_MODERATED:
- if (Dump)
- (void)fprintf(stderr,
- "%s is moderated -- article would be mailed\n",
- group);
- else if (!approved) {
- mailed = MailArticle(group, article);
- DISPOSE(DDend(h));
- QuitServer(mailed ? 0 : 1);
- }
+ if (!approved)
+ if (Dump)
+ (void)fprintf(stderr,
+ "%s is moderated -- article would be mailed\n",
+ group);
+ else {
+ mailed = MailArticle(group, article);
+ DISPOSE(DDend(h));
+ QuitServer(mailed ? 0 : 1);
+ }
break;
case NF_FLAG_IGNORE:
case NF_FLAG_NOLOCAL:
--
Jonathan Kamens | OpenVision Technologies, Inc. | jik@cam.ov.com
Technical Details
Message-ID:
<58pq40$q1c$1@pad-thai.cam.ov.com>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-mailShow Full Headers
Complete Article Headers
Message-ID: <58pq40$q1c$1@pad-thai.cam.ov.com> Subject: INN 1.5 inews: don't print "article would be mailed" incorrectly Date: Thu, 12 Dec 1996 00:00:00 +0000 From: jik@cam.ov.com (Jonathan I. Kamens) 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: 203763451 To: inn-bugs@isc.org Organization: OpenVision Technologies, Inc. Cc: jik Newsgroups: news.software.nntp