X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/136ef3a3547288ed511cec74d71ca93d6a52b700..666130346faf921dfaa1a4d30f40ffe5354e14de:/tests/udplog.c diff --git a/tests/udplog.c b/tests/udplog.c index 0aa8f59..7e580f2 100644 --- a/tests/udplog.c +++ b/tests/udplog.c @@ -81,14 +81,10 @@ int main(int argc, char **argv) { fd_set fds; struct timeval tv; static const struct addrinfo pref = { - 0, /* ai_flags */ - AF_UNSPEC, /* ai_family */ - SOCK_DGRAM, /* ai_socktype */ - IPPROTO_UDP, /* ai_protocol */ - 0, - 0, - 0, - 0 + .ai_flags = 0, + .ai_family = AF_UNSPEC, + .ai_socktype = SOCK_DGRAM, + .ai_protocol = IPPROTO_UDP, }; set_progname(argv);