X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa84a13141e054c3d519b75a3b41bc448420ba7e..7472b8866ffaee51e7989c6316bdbd1ea1153492:/uip/dist.c diff --git a/uip/dist.c b/uip/dist.c index f846b74d..7eea4fcc 100644 --- a/uip/dist.c +++ b/uip/dist.c @@ -1,6 +1,4 @@ - -/* - * dist.c -- re-distribute a message +/* dist.c -- re-distribute a message * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -9,7 +7,9 @@ #include #include +#include "sbr/m_maildir.h" #include +#include "h/done.h" #define DIST_SWITCHES \ X("annotate", 0, ANNOSW) \ @@ -208,13 +208,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; } } @@ -251,7 +249,7 @@ try_it_again: i = YESW; break; default: - advise (NULL, "say what?"); + inform("say what?"); break; } }