]> diplodocus.org Git - nmh/blobdiff - uip/scansbr.c
uip: Replace some ints that are only ever 0 or 1 with bool.
[nmh] / uip / scansbr.c
index 457379cdc6c9dd0ae343c64af854fcd8599948ac..116469815abd6f2e8848cef1aa49ddd7828bee4e 100644 (file)
@@ -284,7 +284,7 @@ body:;
                goto finished;
 
            default: 
-               adios (NULL, "getfld() returned %d", state);
+               die("getfld() returned %d", state);
        }
     }
 
@@ -348,7 +348,7 @@ finished:
     if (scnout && (ferror(scnout) || fclose (scnout) == EOF))
        DIEWRERR();
 
-    return (state != FILEEOF ? SCNERR : encrypted ? SCNENC : SCNMSG);
+    return state != FILEEOF ? SCNERR : encrypted ? SCNENC : SCNMSG;
 }