X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1ca8f21e0edfe448b71ac86de1b0cd987547a002..dd6bfc058da415e30995eeea116c65861671e2aa:/uip/mhlist.c diff --git a/uip/mhlist.c b/uip/mhlist.c index e6fc1dd7..fb0554d4 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -5,17 +5,25 @@ * complete copyright information. */ -#include +#include "h/mh.h" +#include "sbr/context_save.h" +#include "sbr/context_replace.h" +#include "sbr/context_find.h" +#include "sbr/ambigsw.h" +#include "sbr/path.h" +#include "sbr/print_version.h" +#include "sbr/print_help.h" +#include "sbr/error.h" #include -#include -#include -#include -#include -#include -#include -#include +#include "h/signals.h" +#include "h/md5.h" +#include "h/mts.h" +#include "h/tws.h" +#include "h/mime.h" +#include "h/mhparse.h" +#include "h/mhcachesbr.h" #include "h/done.h" -#include +#include "h/utils.h" #include "mhmisc.h" #include "sbr/m_maildir.h" #include "mhfree.h" @@ -71,7 +79,7 @@ main (int argc, char **argv) { bool sizesw = true; bool headsw = true; - int chgflag = 1; + bool chgflag = true; bool verbosw = false; bool dispo = false; int msgnum, *icachesw; @@ -191,10 +199,10 @@ do_cache: continue; case CHGSW: - chgflag++; + chgflag = true; continue; case NCHGSW: - chgflag = 0; + chgflag = false; continue; case VERBSW: @@ -294,7 +302,7 @@ do_cache: if (!*cts) done (1); - userrs = 1; + userrs = true; SIGNAL (SIGQUIT, quitser); SIGNAL (SIGPIPE, pipeser);