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
45a2791f
...
45a2791f0bb68f1af73056fdc7ab07a39c2b9baa
authored
2004-01-08 16:29:59 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(main): Use mu_register_all_mbox_formats
1 parent
885c5863
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
31 deletions
frm/frm.c
from/from.c
movemail/movemail.c
frm/frm.c
View file @
45a2791
...
...
@@ -325,15 +325,7 @@ main(int argc, char **argv)
mailbox_name
=
argv
[
0
];
/* register the formats. */
{
list_t
bookie
;
registrar_get_list
(
&
bookie
);
list_append
(
bookie
,
mbox_record
);
list_append
(
bookie
,
path_record
);
list_append
(
bookie
,
mh_record
);
list_append
(
bookie
,
pop_record
);
list_append
(
bookie
,
imap_record
);
}
mu_register_all_mbox_formats
();
/* Construct the mailbox_t, attach a notification and destroy */
{
...
...
from/from.c
View file @
45a2791
...
...
@@ -116,15 +116,7 @@ main(int argc, char **argv)
}
/* Register the desire formats. */
{
list_t
bookie
;
registrar_get_list
(
&
bookie
);
list_append
(
bookie
,
mbox_record
);
list_append
(
bookie
,
path_record
);
list_append
(
bookie
,
mh_record
);
list_append
(
bookie
,
pop_record
);
list_append
(
bookie
,
imap_record
);
}
mu_register_all_mbox_formats
();
if
((
status
=
mailbox_create_default
(
&
mbox
,
mailbox_name
))
!=
0
)
{
...
...
movemail/movemail.c
View file @
45a2791
...
...
@@ -248,19 +248,9 @@ main (int argc, char **argv)
/* Native Language Support */
mu_init_nls
();
/* Register the desired formats. */
{
list_t
bookie
;
registrar_get_list
(
&
bookie
);
list_append
(
bookie
,
mbox_record
);
list_append
(
bookie
,
path_record
);
list_append
(
bookie
,
pop_record
);
list_append
(
bookie
,
imap_record
);
list_append
(
bookie
,
mh_record
);
/* Possible supported mailers. */
list_append
(
bookie
,
sendmail_record
);
list_append
(
bookie
,
smtp_record
);
}
/* Register the desired mailbox formats. */
mu_register_all_mbox_formats
();
/* argument parsing */
mu_error_set_print
(
movemail_error_printer
);
...
...
Please
register
or
sign in
to post a comment