X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f2753d64be0a74a22018e03ec9c04cc9ca45d3ab..2d667ff62463f331fba7dddea084d1ededd24b71:/uip/rmf.c diff --git a/uip/rmf.c b/uip/rmf.c index 7ac660cb..e8fa45f3 100644 --- a/uip/rmf.c +++ b/uip/rmf.c @@ -7,7 +7,8 @@ #include #include -#include "../sbr/m_mktemp.h" +#include "sbr/m_maildir.h" +#include "sbr/m_mktemp.h" #define RMF_SWITCHES \ X("interactive", 0, INTRSW) \ @@ -71,8 +72,7 @@ main (int argc, char **argv) if (*cp == '+' || *cp == '@') { if (folder) adios (NULL, "only one folder at a time!"); - else - folder = pluspath (cp); + folder = pluspath (cp); } else { adios (NULL, "usage: %s [+folder] [switches]", invo_name); } @@ -163,7 +163,7 @@ rmf (char *folder) if (strcmp (dp->d_name, ".") == 0 || strcmp (dp->d_name, "..") == 0) continue; - /* FALLTHRU */ + break; case ',': break;