Changeset 4370
- Timestamp:
- 02/09/91 11:40:42 (19 years ago)
- Files:
-
- 1 modified
-
trunk/athena/bin/lpr/quota/bill_db.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/athena/bin/lpr/quota/bill_db.c
r4276 r4370 222 222 temp.realm, &qrec, (unsigned int)1, 223 223 &more) == 1) { 224 billing_amount = qrec.quotaAmount - qrec.quotaLimit 225 - qrec.yearToDateCharge; 224 billing_amount = qrec.quotaAmount - qrec.quotaLimit; 226 225 if (billing_amount < 500) { /* restore and continue */ 227 226 qrec.pendingCharge = billing_amount; … … 259 258 } 260 259 /* else the username was not found */ 261 if (temp.quotaAmount - temp.quotaLimit - temp.yearToDateCharge> 500) {260 if (temp.quotaAmount - temp.quotaLimit > 500) { 262 261 fprintf(stderr, "%s was not found in list and ", temp.name); 263 262 fprintf(stderr, "needs to be billed for %d.\n", 264 temp.quotaAmount - temp.quotaLimit - temp.yearToDateCharge);263 temp.quotaAmount - temp.quotaLimit); 265 264 } 266 265 bzero(&temp, sizeof(temp));
