Commit 37356b4a 37356b4a79a2b58f50cfeaed2525c577bbfe1465 by Sergey Poznyakoff

(check_quota): Change signature

1 parent bdd24508
......@@ -106,7 +106,8 @@ extern char *quota_query;
extern int exit_code;
extern void setgroupquota (char *str);
extern int check_quota (char *name, size_t size, size_t *rest);
extern int check_quota (struct mu_auth_data *auth,
mu_off_t size, mu_off_t *rest);
int mda (mu_mailbox_t mbx, char *username);
int switch_user_id (struct mu_auth_data *auth, int user);
......
......@@ -760,10 +760,10 @@ deliver (mu_mailbox_t imbx, char *name)
#if defined(USE_MAILBOX_QUOTAS)
{
size_t n;
mu_off_t n;
mu_off_t isize;
switch (check_quota (name, size, &n))
switch (check_quota (auth, size, &n))
{
case MQUOTA_EXCEEDED:
mailer_err (_("%s: mailbox quota exceeded for this recipient"), name);
......