Makes clear there's no special meaning to repeating these options more
than once.
int
main (int argc, char **argv)
{
int
main (int argc, char **argv)
{
- int chgflag = 1, trnflag = 1;
- int noisy = 1, width = -1;
+ bool chgflag;
+ int trnflag = 1;
+ bool noisy;
+ int width = -1;
int hghnum = 0, msgnum = 0;
int hghnum = 0, msgnum = 0;
- int sasl = 0, tls = 0, noverify = 1;
+ bool sasl, tls, noverify;
int incerr = 0; /* <0 if inc hits an error which means it should not truncate mailspool */
char *cp, *maildir = NULL, *folder = NULL;
char *format = NULL, *form = NULL;
int incerr = 0; /* <0 if inc hits an error which means it should not truncate mailspool */
char *cp, *maildir = NULL, *folder = NULL;
char *format = NULL, *form = NULL;
if (pophost && *pophost)
host = pophost;
if (pophost && *pophost)
host = pophost;
+ sasl = tls = false;
+ chgflag = noisy = noverify = true;
while ((cp = *argp++)) {
if (*cp == '-') {
switch (smatch (++cp, switches)) {
while ((cp = *argp++)) {
if (*cp == '-') {
switch (smatch (++cp, switches)) {
continue;
case SASLMECHSW:
continue;
case SASLMECHSW:
continue;
case INITTLSSW:
continue;
case INITTLSSW:
continue;
case CERTVERSW:
continue;
case CERTVERSW:
continue;
case NOCERTVERSW:
continue;
case NOCERTVERSW:
continue;
case AUTHSERVICESW:
continue;
case AUTHSERVICESW: