Wrap local part (username) of address with double quotes if needed.
[mmh] / uip / whom.c
index d6bb32a..24f09ef 100644 (file)
@@ -58,6 +58,8 @@ static struct swit switches[] = {
     { "port server port name/number", 4 },
 #define TLSSW             16
     { "tls", TLSminc(-3) },
+#define NTLSSW             17
+    { "notls", TLSminc(-5) },
     { NULL, 0 }
 };
 
@@ -89,7 +91,7 @@ main (int argc, char **argv)
     vec[vecp++] = getcpy (m_maildir (""));
 
     /* Don't need to feed fileproc or mhlproc to post because
-       it doesn't used them when used for whom. */
+       it doesn't use them when used for whom. */
 
     while ((cp = *argp++)) {
        if (*cp == '-') {
@@ -112,6 +114,8 @@ main (int argc, char **argv)
                case NOCHKSW: 
                case SNOOPSW:
                case SASLSW:
+               case TLSSW:
+               case NTLSSW:
                    vec[vecp++] = --cp;
                    continue;