X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8beec5a149ff31d48971f869d99c7c99926ca790..4fb142af4ad2ca73d141cc04af24e7c1b62f8a77:/sbr/mts.c diff --git a/sbr/mts.c b/sbr/mts.c index ae617cec..4a056755 100644 --- a/sbr/mts.c +++ b/sbr/mts.c @@ -117,7 +117,7 @@ save_mts_method (const char *value) { mts_method = "sendmail/pipe"; sm_mts = MTS_SENDMAIL_PIPE; } else { - adios (NULL, "unsupported mts selection \"%s\"", value); + die("unsupported mts selection \"%s\"", value); } } @@ -235,7 +235,7 @@ LocalName (int flag) gethostname (buf, sizeof(buffer0) - 1); /* now fully qualify our name */ - memset(&hints, 0, sizeof(hints)); + ZERO(&hints); hints.ai_flags = AI_CANONNAME; hints.ai_family = PF_UNSPEC; if (getaddrinfo(buf, NULL, &hints, &res) == 0) {