]> diplodocus.org Git - nmh/blobdiff - sbr/read_switch_multiword.c
Restored file execute permissions.
[nmh] / sbr / read_switch_multiword.c
index ff75a01688e99c7491f51e0875b79e7845aa17bf..9c1236739487169d3605ee42b98c8e349d41b278 100644 (file)
@@ -42,7 +42,7 @@ read_switch_multiword (const char *prompt, const struct swit *ansp)
        cp = ansbuf;
        while ((i = getchar ()) != '\n') {
            if (i == EOF) {
-               /*
+               /*
                 * If we get an EOF, return
                 */
                if (feof(stdin))
@@ -56,11 +56,11 @@ read_switch_multiword (const char *prompt, const struct swit *ansp)
 
                if (ferror(stdin)) {
                    if (errno == EINTR) {
-                       clearerr(stdin);
+                       clearerr(stdin);
                        continue;
                    }
                    fprintf(stderr, "\nError %s during read\n",
-                           strerror(errno));
+                           strerror(errno));
                    siglongjmp (sigenv, 1);
                }