]> 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 775c8aeb1d9a0c8168e833e06662a552bdbef889..b33b9905e6325007ecccca1b79882c618905d97b 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 static char msgbuf[NMH_BUFSIZ];
  */
 
 static char msgbuf[NMH_BUFSIZ];
-#define COMPFREE(c) mh_xfree(c->c_text)
+#define COMPFREE(c) free(c->c_text)
 
 /*
  * A list of components we treat as addresses
 
 /*
  * A list of components we treat as addresses
@@ -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);