]> diplodocus.org Git - nmh/blobdiff - uip/forwsbr.c
Replace some ints that are only ever 0 or 1 with bool.
[nmh] / uip / forwsbr.c
index 1ae630d5889c9974877c6dd078ae38ddd50e681b..b33b9905e6325007ecccca1b79882c618905d97b 100644 (file)
@@ -121,7 +121,7 @@ build_form (char *form, char *digest, int *dat, char *from, char *to,
                goto finished;
 
            default:
                goto finished;
 
            default:
-               adios(NULL, "m_getfld2() returned %d", state);
+               die("m_getfld2() returned %d", state);
        }
     }
 
        }
     }
 
@@ -176,7 +176,7 @@ finished:
 
     cp = m_mktemp2(NULL, invo_name, NULL, &tmp);
     if (cp == NULL) {
 
     cp = m_mktemp2(NULL, invo_name, NULL, &tmp);
     if (cp == NULL) {
-       adios(NULL, "unable to create temporary file in %s", get_temp_dir());
+       die("unable to create temporary file in %s", get_temp_dir());
     }
     strncpy (tmpfil, cp, sizeof(tmpfil));
     (void) m_unlink (tmpfil);
     }
     strncpy (tmpfil, cp, sizeof(tmpfil));
     (void) m_unlink (tmpfil);