Ticket #24: log-filtered.patch

File log-filtered.patch, 805 bytes (added by eagle, 15 years ago)

Follow-on to improve logging and outgoing feeds

  • art.c

    old new  
    16371637        continue;
    16381638    }
    16391639
     1640    if (data->Filtered && sp->DropFiltered)
     1641      /* Site does not want filtered articles */
     1642      continue;
     1643   
    16401644    /* Write that the site is getting it, and flag to send it. */
    16411645    if (innconf->logsitename) {
    16421646      if (fprintf(Log, " %s", sp->Name) == EOF || ferror(Log)) {
     
    24252429  /* And finally, send to everyone who should get it */
    24262430  for (sp = Sites, i = nSites; --i >= 0; sp++) {
    24272431    if (sp->Sendit) {
    2428       if (!Filtered || !sp->DropFiltered) {
    2429         TMRstart(TMR_SITESEND);
    2430         SITEsend(sp, data);
    2431         TMRstop(TMR_SITESEND);
    2432       }
     2432      TMRstart(TMR_SITESEND);
     2433      SITEsend(sp, data);
     2434      TMRstop(TMR_SITESEND);
    24332435    }
    24342436  }