projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed unneeded sbr code.
[mmh]
/
uip
/
rmf.c
diff --git
a/uip/rmf.c
b/uip/rmf.c
index
a53fe4c
..
f3c335e
100644
(file)
--- a/
uip/rmf.c
+++ b/
uip/rmf.c
@@
-204,8
+204,14
@@
rmf (char *folder)
rma (folder);
chdir ("..");
rma (folder);
chdir ("..");
- if (others == 0 && remdir (maildir))
- return OK;
+ if (others == 0) {
+ context_save(); /* Is this needed? meillo 2011-10 */
+ fflush(stdout); /* Is this needed? meillo 2011-10 */
+ if (rmdir(maildir) != -1) {
+ return OK;
+ }
+ admonish (maildir, "unable to remove directory");
+ }
advise (NULL, "folder +%s not removed", folder);
return NOTOK;
advise (NULL, "folder +%s not removed", folder);
return NOTOK;