X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhlsbr.c;h=c310e2a075da5cef080664040361355f402caf87;hb=d9b1d57351d104d7ec1a5621f090657dcce8cb7f;hp=f22303b8b51e680998792cf9ba056730d1d3b794;hpb=7879ea4084333b448c5a3a49c1cb52023e3808d1;p=mmh diff --git a/uip/mhlsbr.c b/uip/mhlsbr.c index f22303b..c310e2a 100644 --- a/uip/mhlsbr.c +++ b/uip/mhlsbr.c @@ -3,6 +3,10 @@ * mhlsbr.c -- main routines for nmh message lister * * $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. */ #include @@ -476,6 +480,11 @@ mhl (int argc, char **argv) vecp > 1 ? "s" : ""); } + fflush(stdout); + if(ferror(stdout)){ + adios("output", "error writing"); + } + if (clearflg > 0 && ontty == NOTTY) clear_screen ();