X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/5aff007d8fcfb4c6cc3c3627ae15f45562db7a0d..0d0253c93a64d2b5206e902c648e1e2c6bc5d510:/lib/sendmail.c diff --git a/lib/sendmail.c b/lib/sendmail.c index 95ad2a1..2e0df8f 100644 --- a/lib/sendmail.c +++ b/lib/sendmail.c @@ -210,14 +210,10 @@ int sendmail(const char *sender, FILE *in, *out; static const struct addrinfo pref = { - 0, - PF_INET, - SOCK_STREAM, - IPPROTO_TCP, - 0, - 0, - 0, - 0 + .ai_flags = 0, + .ai_family = PF_INET, + .ai_socktype = SOCK_STREAM, + .ai_protocol = IPPROTO_TCP, }; /* Find the SMTP server */