Patch for innxmit -d

Charlie Fluffy FLUFFIE at ILOVEYOU.int.tele.dk
Sat Jun 24 12:22:54 UTC 2000


The following patch...

[14:07:53]news at CensurBot.NetScum.Dk:/news/src/inn-CURRENT-20000410/backends{592}$ diff -u innxmit.c-DIST innxmit.c
--- innxmit.c-DIST      Fri Nov 19 10:14:51 1999
+++ innxmit.c   Sat Jun 24 13:52:08 2000
@@ -606,8 +606,10 @@
        return FALSE;
     if (GotInterrupt)
        Interrupted(Article, MessageID);
-    if (Debug)
+    if (Debug) {
+        (void)fprintf(stderr, "> [ article %d ]\n", art->len);
        (void)fprintf(stderr, "> .\n");
+    }
     if (CanStream) return TRUE;        /* streaming mode does not wait for ACK */

seems to restore debugging article size functionality to innxmit.

< 239 <c8n3ls428n1j8bmq521e7t0clq15pdh23g at 4ax.com>
> takethis <8ivso3$kov$1 at aquarius.webcorp.com.pl>
> [ article 1847 ]
> .
< 239 <8ivt49$2ngo$1 at FreeBSD.csie.NCTU.edu.tw>
> takethis <8ivt4u$bup at netnews.hinet.net>
> [ article 674 ]
> .
< 239 <lum4lsc4qtggp3od8ft4vdbp7b70ib0pv0 at 4ax.com>
> takethis <slrn8l6tv9.1l84.jesper at freesbee.wheel.dk>
> [ article 1449 ]
> .
< 239 <4L7kQFS3$GA.196 at news-02.uni.net>
> takethis <8ivsut$fjb$9 at bagan.srce.hr>
> [ article 1300 ]
> .
[.....]

I haven't verified it, so at least give it a quick review.
I've applied it on three machines with no problems, and
preparing to do the same on four others.


I have a handful of other patches to add additional functionality
to innd/nnrpd, which I'll see about cleaning up and submitting,
or at least tossing out the question if they provide desirable
configurable features.


Yours in Hackery,
Father Charlie




More information about the inn-workers mailing list