X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8a14191c0a0ad15bb8f35b49748c75c1e0a8c2f4..f6d438b5e08d12eacb62f93a8ce1a6c22d2ae16d:/uip/scan.c diff --git a/uip/scan.c b/uip/scan.c index eb9e8fc2..b65fef74 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -1,6 +1,4 @@ - -/* - * scan.c -- display a one-line "scan" listing of folder or messages +/* scan.c -- display a one-line "scan" listing of folder or messages * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -13,6 +11,8 @@ #include #include #include +#include "../sbr/m_maildir.h" +#include "../sbr/terminal.h" #define SCAN_SWITCHES \ X("clear", 0, CLRSW) \ @@ -127,10 +127,9 @@ 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 - app_msgarg(&msgs, cp); + app_msgarg(&msgs, cp); } if (!context_find ("path"))