Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
37356b4a
...
37356b4a79a2b58f50cfeaed2525c577bbfe1465
authored
2007-02-27 16:12:29 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(check_quota): Change signature
1 parent
bdd24508
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
mail.local/mail.local.h
mail.local/main.c
mail.local/mail.local.h
View file @
37356b4
...
...
@@ -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
);
...
...
mail.local/main.c
View file @
37356b4
...
...
@@ -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
);
...
...
Please
register
or
sign in
to post a comment