]> diplodocus.org Git - nmh/blobdiff - uip/forwsbr.c
prototypes.h: Delete default_done() prototype.
[nmh] / uip / forwsbr.c
index 775c8aeb1d9a0c8168e833e06662a552bdbef889..608e2555db6dc68b115beb58564554cd097bc9bc 100644 (file)
@@ -11,6 +11,7 @@
 #include <h/tws.h>
 #include <h/utils.h>
 #include "sbr/m_mktemp.h"
 #include <h/tws.h>
 #include <h/utils.h>
 #include "sbr/m_mktemp.h"
+#include "forwsbr.h"
 
 /*
  * Take from replsbr.c - a buffer big enough to read in data header lines
 
 /*
  * Take from replsbr.c - a buffer big enough to read in data header lines
@@ -18,7 +19,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 +122,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 +177,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);