X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhlsbr.c;h=c310e2a075da5cef080664040361355f402caf87;hp=f22303b8b51e680998792cf9ba056730d1d3b794;hb=31d4900d02d6be96308736ddc262ec4cdbd72c7c;hpb=7879ea4084333b448c5a3a49c1cb52023e3808d1 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 ();