Index: /trunk/athena/bin/lpr/quota/gbill_db.c
===================================================================
--- /trunk/athena/bin/lpr/quota/gbill_db.c (revision 4280)
+++ /trunk/athena/bin/lpr/quota/gbill_db.c (revision 4371)
@@ -213,6 +213,5 @@
 	if (gquota_db_get_group(temp.account, temp.service, &qrec,
 				(unsigned int)1, &more) == 1) {
-	  billing_amount = qrec.quotaAmount - qrec.quotaLimit
-	    - qrec.yearToDateCharge;
+	  billing_amount = qrec.quotaAmount - qrec.quotaLimit;
 	  if (billing_amount < 500) {  /* restore and continue */
 	    qrec.pendingCharge = billing_amount;
@@ -249,8 +248,8 @@
 
     /* else the temp.account was not found */
-    if (temp.quotaAmount - temp.quotaLimit - temp.yearToDateCharge > 500) {
+    if (temp.quotaAmount - temp.quotaLimit > 500) {
       fprintf(stderr, "Group %d was not found in list and ", temp.account);
       fprintf(stderr, "needs to be billed for %d.\n",
-	      temp.quotaAmount - temp.quotaLimit - temp.yearToDateCharge);
+	      temp.quotaAmount - temp.quotaLimit);
     }
   }
