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
8443e9ae
...
8443e9ae4f1099c4b0d49fb21fea5a1cb656290a
authored
2006-01-27 15:17:23 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(quit): Don't call rename if both file and draftfile are the same.
1 parent
6457912a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
mh/mh_whatnow.c
mh/mh_whatnow.c
View file @
8443e9a
...
...
@@ -423,7 +423,8 @@ quit (struct mh_whatnow_env *wh, int argc, char **argv, int *status)
else
{
printf
(
_
(
"draft left on
\"
%s
\"
.
\n
"
),
wh
->
draftfile
);
rename
(
wh
->
file
,
wh
->
draftfile
);
if
(
strcmp
(
wh
->
file
,
wh
->
draftfile
))
rename
(
wh
->
file
,
wh
->
draftfile
);
}
}
...
...
Please
register
or
sign in
to post a comment