Fix spelling and encoding errors in manpages and an error message
[mmh] / uip / prompter.c
index 0ca1e83..2adbd48 100644 (file)
@@ -141,7 +141,6 @@ main(int argc, char **argv)
                switch (state = m_getfld(state, name, field, sizeof(field),
                                in)) {
                case FLD:
-               case FLDEOF:
                case FLDPLUS:
                        /*
                        ** Check if the value of field contains
@@ -183,18 +182,9 @@ abort:
                                }
                        }
 
-                       if (state == FLDEOF) {  /* moby hack */
-                               /* draft has no body separator; only headers */
-                               fprintf(out, "--------\n");
-                               if (!qbody)
-                                       break;
-                               printf("--------\n");
-                               goto has_no_body;
-                       }
                        continue;
 
                case BODY:
-               case BODYEOF:
                case FILEEOF:
                        fprintf(out, "--------\n");
                        if (qbody) {
@@ -273,7 +263,7 @@ int
 getln(char *buffer, int n)
 {
        int c;
-       sig_atomic_t psigint;
+       sig_atomic_t psigint = sigint;
        char *cp;
 
        cp = buffer;
@@ -282,7 +272,6 @@ getln(char *buffer, int n)
        switch (setjmp(sigenv)) {
        case 0:
                wtuser = 1;
-               psigint = sigint;
                break;
 
        default: