Changeset 4371 for trunk/athena/bin/lpr/quota/gbill_db.c
- Timestamp:
- 02/09/91 11:41:59 (19 years ago)
- Files:
-
- 1 modified
-
trunk/athena/bin/lpr/quota/gbill_db.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/athena/bin/lpr/quota/gbill_db.c
r4280 r4371 213 213 if (gquota_db_get_group(temp.account, temp.service, &qrec, 214 214 (unsigned int)1, &more) == 1) { 215 billing_amount = qrec.quotaAmount - qrec.quotaLimit 216 - qrec.yearToDateCharge; 215 billing_amount = qrec.quotaAmount - qrec.quotaLimit; 217 216 if (billing_amount < 500) { /* restore and continue */ 218 217 qrec.pendingCharge = billing_amount; … … 249 248 250 249 /* else the temp.account was not found */ 251 if (temp.quotaAmount - temp.quotaLimit - temp.yearToDateCharge> 500) {250 if (temp.quotaAmount - temp.quotaLimit > 500) { 252 251 fprintf(stderr, "Group %d was not found in list and ", temp.account); 253 252 fprintf(stderr, "needs to be billed for %d.\n", 254 temp.quotaAmount - temp.quotaLimit - temp.yearToDateCharge);253 temp.quotaAmount - temp.quotaLimit); 255 254 } 256 255 }
