X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6b6e5f94f81e56e9e9e1cf26ea596c01ed403555..b47b562525f149f175c3d216feea20a6db2e9ff5:/uip/mhn.c diff --git a/uip/mhn.c b/uip/mhn.c index 0d1d48e6..9e506885 100644 --- a/uip/mhn.c +++ b/uip/mhn.c @@ -89,7 +89,7 @@ static int rfc934sw = 0; /* * what action to take? */ -static int cachesw = 0; +static bool cachesw; static bool listsw; static bool showsw; static bool storesw; @@ -107,7 +107,7 @@ main (int argc, char **argv) { bool sizesw = true; bool headsw = true; - int autosw = 0; + bool autosw = false; int msgnum, *icachesw; char *cp, *file = NULL, *folder = NULL; char *maildir, buf[100], **argp; @@ -148,17 +148,17 @@ main (int argc, char **argv) done (0); case AUTOSW: - autosw++; + autosw = true; continue; case NAUTOSW: - autosw = 0; + autosw = false; continue; case CACHESW: - cachesw++; + cachesw = true; continue; case NCACHESW: - cachesw = 0; + cachesw = false; continue; case RCACHESW: