[cups.bugs] [MOD] STR #3030: scheduler/quotas.c:cupsdUpdateQuota() fails to scan all of the (500 per default) last jobs

Lothar Brendel lothar.brendel at uni-due.de
Thu Dec 4 08:48:03 PST 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

If I'm not utterly off the track, scheduler/quotas.c:cupsdUpdateQuota()
shouldn't stop summing pages and kilobytes as soon as it encounters a job
without a time-at-* attribute (i.e. neither time-at-completion nor
time-at-processing nor time-at-creation).

Yet in the job scanning loop it reads:
  if (attr == NULL)
    break;

Could someone explain why the "break" ought not to be a "continue"?

Link: http://www.cups.org/str.php?L3030
Version: 1.4-current





More information about the cups-devel mailing list