X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/5aff007d8fcfb4c6cc3c3627ae15f45562db7a0d..666130346faf921dfaa1a4d30f40ffe5354e14de:/clients/playrtp.c diff --git a/clients/playrtp.c b/clients/playrtp.c index 31416ec..6496daf 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -556,14 +556,10 @@ int main(int argc, char **argv) { const char *dumpfile = 0; static const struct addrinfo prefs = { - AI_PASSIVE, - PF_INET, - SOCK_DGRAM, - IPPROTO_UDP, - 0, - 0, - 0, - 0 + .ai_flags = AI_PASSIVE, + .ai_family = PF_INET, + .ai_socktype = SOCK_DGRAM, + .ai_protocol = IPPROTO_UDP }; mem_init();