One line patch for better pullnews support

Jozsef Kadlecsik kadlec at blackhole.kfki.hu
Thu Sep 2 06:34:37 UTC 1999


Hello,

The simple patch below makes possible to catch up empty newsgroups
when one uses pullnews. In other words, one can screen the logs for
the wanted newsgroups and dinamically adjust pullnews to the requirements.

*** nnrpd/group.c.orig  Thu Jul 15 09:45:41 1999
--- nnrpd/group.c       Thu Jul 15 09:49:28 1999
***************
*** 796,802 ****
      char              buff[SPOOLNAMEBUFF];
      char              repbuff[1024], tmpbuff[80];
  
!     if (GRPlast[0] && GRParticles != 0) {
        (void)strcpy(buff, GRPlast);
        for (p = buff; *p; p++)
            if (*p == '/')
--- 796,802 ----
      char              buff[SPOOLNAMEBUFF];
      char              repbuff[1024], tmpbuff[80];
  
!     if (GRPlast[0]) {
        (void)strcpy(buff, GRPlast);
        for (p = buff; *p; p++)
            if (*p == '/')
 

Best regards,
Jozsef Kadlecsik
-
E-mail  : kadlec at blackhole.kfki.hu, kadlec at sunserv.kfki.hu
WWW-Home: http://www.kfki.hu/~kadlec
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary



More information about the inn-workers mailing list