X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/174d375bb4b9bcaa0c3f28c422216f68703494a8..220dcd2dda3136cefd20951e34e963f37f8e2132:/uip/scan.c diff --git a/uip/scan.c b/uip/scan.c index 4334efe5..077f824a 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -2,8 +2,6 @@ /* * scan.c -- display a one-line "scan" listing of folder or messages * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -155,7 +153,7 @@ main (int argc, char **argv) if (folder) adios (NULL, "only one folder at a time!"); else - folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); + folder = pluspath (cp); } else app_msgarg(&msgs, cp); } @@ -326,5 +324,6 @@ main (int argc, char **argv) if (clearflag) clear_screen (); - return done (0); + done (0); + return 1; }