[news.software.nntp] nntpxfer bug

ambar@bloom-beacon.mit.edu (Jean Marie Diaz) (09/18/89)

I note that NNTP 1.5.6 does not have my nntpxfer patch -- perhaps I sent
it in too late.  At any rate, here it is.

Some kind soul in Japan pointed out to me that nntpxfer loses (silently)
one article per invocation due to a fencepost error.  Patch follows.

				 AMBAR
ambar@bloom-beacon.mit.edu		   {mit-eddie,uunet}!bloom-beacon!ambar

*** /tmp/,RCSt1a12568   Sun Sep 17 22:59:27 1989
--- nntpxfer.c  Sat Sep 16 00:11:31 1989
***************
*** 290,296 ****
  #endif

        /* now that we know which articles we want, retrieve them */
!       for (i=1; i < newart; i++)
                (void) artfetch(artlist[i]);

  #ifdef DEBUG
--- 290,296 ----
  #endif

        /* now that we know which articles we want, retrieve them */
!       for (i=0; i < newart; i++)
                (void) artfetch(artlist[i]);

  #ifdef DEBUG