X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fscan.c;h=077f824a2ba814f67d19b39549edfef056846e22;hp=4334efe5ed7e2bf684e21b17e6536838ecac92b5;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hpb=174d375bb4b9bcaa0c3f28c422216f68703494a8 diff --git a/uip/scan.c b/uip/scan.c index 4334efe..077f824 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; }