#include <h/aliasbr.h>
#include <h/dropsbr.h>
#include <zotnet/tws/tws.h>
+#include <zotnet/mts/mts.h>
#define uptolow(c) ((isalpha(c) && isupper (c)) ? tolower (c) : c)
}
else {
#ifdef HAVE_MKSTEMP
- mkstemp (tmpfil);
+ if ((out = fdopen( mkstemp (tmpfil), "w" )) == NULL )
+ adios (tmpfil, "unable to create");
#else
mktemp (tmpfil);
-#endif
if ((out = fopen (tmpfil, "w")) == NULL)
adios (tmpfil, "unable to create");
chmod (tmpfil, 0600);
+#endif
}
hdrtab = (msgstate == normal) ? NHeaders : RHeaders;