Comment 28 for bug 283811

Paul Dufresne (paulduf) wrote :

From http://svn.easysw.com/public/cups/trunk/scheduler/job.c I can see that what was in:
http://linux.derkeiler.com/Mailing-Lists/Fedora/2008-07/msg03591.html
if ((attr = cupsGetOption("auth-info-required", num_attrs, attrs)) != NULL)
{
cupsdSetAuthInfoRequired(job->printer, attr, NULL);
cupsdSetPrinterAttrs(job->printer);
cupsdSaveAllPrinters();
}

has become:
      if ((attr = cupsGetOption("auth-info-required", num_attrs,
                                attrs)) != NULL)
      {
        cupsdSetAuthInfoRequired(job->printer, attr, NULL);
 cupsdSetPrinterAttrs(job->printer);

 if (job->printer->type & CUPS_PRINTER_DISCOVERED)
   cupsdMarkDirty(CUPSD_DIRTY_REMOTE);
 else
   cupsdMarkDirty(CUPSD_DIRTY_PRINTERS);
      }

More clearly:
cupsdSaveAllPrinters();

have become:
 if (job->printer->type & CUPS_PRINTER_DISCOVERED)
   cupsdMarkDirty(CUPSD_DIRTY_REMOTE);
 else
   cupsdMarkDirty(CUPSD_DIRTY_PRINTERS);

Yeah, I know, I need to begin to use svn. ;-)