X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6b6e5f94f81e56e9e9e1cf26ea596c01ed403555..e99caef6d3e09d481849d3bdc51871f4c7bb574a:/uip/mhstore.c diff --git a/uip/mhstore.c b/uip/mhstore.c index 6f2fdd39..9cbdc69a 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -5,17 +5,36 @@ * complete copyright information. */ -#include +#include "h/mh.h" +#include "sbr/m_name.h" +#include "sbr/m_gmprot.h" +#include "sbr/getarguments.h" +#include "sbr/seq_setprev.h" +#include "sbr/seq_setcur.h" +#include "sbr/seq_save.h" +#include "sbr/smatch.h" +#include "sbr/m_convert.h" +#include "sbr/getfolder.h" +#include "sbr/folder_read.h" +#include "sbr/context_save.h" +#include "sbr/context_replace.h" +#include "sbr/context_find.h" +#include "sbr/readconfig.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" @@ -63,7 +82,8 @@ static void pipeser (int); int main (int argc, char **argv) { - int msgnum, *icachesw, autosw = 0; + int msgnum, *icachesw; + bool autosw = false; /* verbosw defaults to 1 for backward compatibility. */ bool verbosw = true; const char *clobbersw = "always"; @@ -107,10 +127,10 @@ main (int argc, char **argv) done (0); case AUTOSW: - autosw++; + autosw = true; continue; case NAUTOSW: - autosw = 0; + autosw = false; continue; case RCACHESW: