]> diplodocus.org Git - nmh/blobdiff - uip/send.c
README.manpages: Add `Common errors and subjective conventions'.
[nmh] / uip / send.c
index 2d162a7a829f7d8a5fd6f59d735801375f11acdc..de94af2dc9b046f0aa35d9e10c0ec1ca56370d15 100644 (file)
@@ -243,7 +243,8 @@ main (int argc, char **argv)
                    continue;
 
                case DEBUGSW: 
-                   debugsw++;  /* fall */
+                   debugsw++;
+                   /* FALLTHRU */
                case NFILTSW: 
                case FRMTSW: 
                case NFRMTSW: 
@@ -283,7 +284,7 @@ main (int argc, char **argv)
                case SASLMECHSW:
                    if (!(saslmech = *argp) || *saslmech == '-')
                        adios (NULL, "missing argument to %s", argp[-1]);
-                   /* Fall through */
+                   /* FALLTHRU */
 
                case ALIASW: 
                case FILTSW: 
@@ -301,14 +302,14 @@ main (int argc, char **argv)
                    continue;
                
                case ATTACHSW:
-                   advise(NULL, "The -attach switch is deprecated");
+                   inform("The -attach switch is deprecated");
                    continue;
                case NOATTACHSW:
-                   advise(NULL, "The -noattach switch is deprecated");
+                   inform("The -noattach switch is deprecated");
                    continue;
 
                case ATTACHFORMATSW:
-                   advise(NULL, "The -attachformat switch is deprecated");
+                   inform("The -attachformat switch is deprecated");
                    continue;
            }
        } else {
@@ -346,7 +347,7 @@ main (int argc, char **argv)
                        showfile (++argp, msgs[0]);
                        break;
                    default:
-                       advise (NULL, "say what?");
+                       inform("say what?");
                        break;
                }
            }
@@ -483,8 +484,10 @@ go_to_it:
         switch (sendsbr (vec, vecp, program, msgs[msgnum], &st, 1, auth_svc)) {
            case DONE: 
                done (++status);
+               /* FALLTHRU */
            case NOTOK: 
-               status++;       /* fall */
+               status++;
+               /* FALLTHRU */
            case OK:
                break;
        }