2 messages in net.sourceforge.lists.courier-users[courier-users] maildirquota.c
FromSent OnAttachments
Brian CandlerDec 1, 2000 2:59 am.patch
Sam VarshavchikDec 1, 2000 5:17 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] maildirquota.cActions...
From:Brian Candler (B.Ca@pobox.com)
Date:Dec 1, 2000 2:59:45 am
List:net.sourceforge.lists.courier-users
Attachments:

As far as I can see, right now maildir_readquota will not return the total percentage used if run on a subfolder. Proposed patch attached - or is this intentional?

Regards,

Brian.

--- maildir/maildirquota.c.orig Tue Sep 5 04:52:22 2000 +++ maildir/maildirquota.c Fri Dec 1 10:49:28 2000 @@ -229,8 +229,8 @@ if (stat(checkfolder, &stat_buf) == 0) /* Go to parent */ { strcat(strcpy(checkfolder, dir), "/.."); - n=maildir_checkquota(checkfolder, maildirsize_fdptr, - quota_type, xtra_size, xtra_cnt); + n=docheckquota(checkfolder, maildirsize_fdptr, + quota_type, xtra_size, xtra_cnt, percentage); free(checkfolder); return (n); }