* complete copyright information.
*/
-#include <h/mh.h> /* for snprintf() */
-#include <h/utils.h>
+#include "h/mh.h"
+#include "error.h"
+#include "h/utils.h"
#define nmhetcdir(file) NMHETCDIR#file
-#include <h/mts.h>
+#include "h/mts.h"
#include <pwd.h>
#include <sys/socket.h>
#include <netdb.h>
/* Convert name of mts method to integer value and store it. */
void
-save_mts_method (const char *value) {
+save_mts_method (const char *value)
+{
if (! strcasecmp (value, "smtp")) {
mts_method = "smtp";
sm_mts = MTS_SMTP;
mts_method = "sendmail/pipe";
sm_mts = MTS_SENDMAIL_PIPE;
} else {
- adios (NULL, "unsupported mts selection \"%s\"", value);
+ die("unsupported mts selection \"%s\"", value);
}
}