X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/177f020f122827214159c46dcfe7ded1e3c8d1c3..48a82e75469e3bea1eaa88b7fbd4d28a3f275af2:/uip/repl.c diff --git a/uip/repl.c b/uip/repl.c index 4ca18e78..2707b368 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -8,6 +8,7 @@ #include #include #include +#include "../sbr/m_maildir.h" #define REPL_SWITCHES \ X("group", 0, GROUPSW) \ @@ -38,7 +39,7 @@ X("width columns", 0, WIDTHSW) \ X("version", 0, VERSIONSW) \ X("help", 0, HELPSW) \ - X("file file", 4, FILESW) /* interface from msh */ \ + X("file file", 4, FILESW) \ X("build", 5, BILDSW) /* interface from mhe */ \ X("atfile", 0, ATFILESW) \ X("noatfile", 0, NOATFILESW) \ @@ -335,13 +336,11 @@ 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 { if (msg) adios (NULL, "only one message at a time!"); - else - msg = cp; + msg = cp; } }