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
22316e4c
...
22316e4ce362d21f2749b2e073a357036943f257
authored
2006-05-20 10:44:31 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(main): Fix coredump if invoked with no options.
1 parent
b264f32c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
mh/rmf.c
mh/rmf.c
View file @
22316e4
...
...
@@ -199,12 +199,16 @@ main (int argc, char **argv)
mu_argp_init
(
program_version
,
NULL
);
mh_argp_parse
(
&
argc
,
&
argv
,
0
,
options
,
mh_option
,
args_doc
,
doc
,
opt_handler
,
NULL
,
NULL
);
if
(
!
explicit_folder
)
interactive
=
1
;
cur_folder_path
=
current_folder_path
();
name
=
mh_expand_name
(
NULL
,
folder_name
,
0
);
if
(
!
explicit_folder
)
{
interactive
=
1
;
name
=
cur_folder_path
;
}
else
name
=
mh_expand_name
(
NULL
,
folder_name
,
0
);
rmf
(
name
);
return
0
;
}
...
...
Please
register
or
sign in
to post a comment