]> diplodocus.org Git - nmh/blobdiff - uip/forwsbr.c
prototypes.h: Delete default_done() prototype.
[nmh] / uip / forwsbr.c
index 1ae630d5889c9974877c6dd078ae38ddd50e681b..608e2555db6dc68b115beb58564554cd097bc9bc 100644 (file)
@@ -11,6 +11,7 @@
 #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
@@ -121,7 +122,7 @@ build_form (char *form, char *digest, int *dat, char *from, char *to,
                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) {
-       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);