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
5c6aee36
...
5c6aee36407c10c233707b862d5c9cbeca09690b
authored
2002-05-02 12:44:54 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Changed mda() declaration.
1 parent
673c89b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
14 deletions
mail.local/mail.local.h
mail.local/main.c
mail.local/mail.local.h
View file @
5c6aee3
...
...
@@ -102,7 +102,7 @@ extern int exit_code;
extern
void
setgroupquota
(
char
*
str
);
extern
int
check_quota
(
char
*
name
,
size_t
size
,
size_t
*
rest
);
int
mda
(
FILE
*
fp
,
char
*
username
,
mailbox_t
mbox
);
int
mda
(
FILE
*
fp
,
char
*
username
);
char
*
make_progfile_name
(
char
*
pattern
,
char
*
username
);
#ifdef WITH_GUILE
...
...
mail.local/main.c
View file @
5c6aee3
...
...
@@ -236,7 +236,7 @@ main (int argc, char *argv[])
unlink
(
tempfile
);
for
(;
*
argv
;
argv
++
)
mda
(
fp
,
*
argv
,
NULL
);
mda
(
fp
,
*
argv
);
return
exit_code
;
}
...
...
@@ -315,19 +315,8 @@ make_progfile_name (char *pattern, char *username)
}
int
mda
(
FILE
*
fp
,
char
*
username
,
mailbox_t
mbox
)
mda
(
FILE
*
fp
,
char
*
username
)
{
if
(
mbox
)
{
message_t
mesg
=
NULL
;
attribute_t
attr
=
NULL
;
mailbox_get_message
(
mbox
,
1
,
&
mesg
);
message_get_attribute
(
mesg
,
&
attr
);
if
(
attribute_is_deleted
(
attr
))
return
EX_OK
;
}
deliver
(
fp
,
username
);
if
(
multiple_delivery
)
...
...
Please
register
or
sign in
to post a comment