From c5fbc6c7535ef526dcdc64b43ec5d8ff6c161b2c Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Mon, 4 May 2020 18:27:19 +0100 Subject: [PATCH] clients/playrtp.c: Make the `getaddrinfo' hints structure writable. Organization: Straylight/Edgeware From: Mark Wooding I'm going to want to update this -- specifically the `ai_family' member -- according to things I find at runtime. --- clients/playrtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/playrtp.c b/clients/playrtp.c index b5da73f..eda7ce9 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -704,7 +704,7 @@ int main(int argc, char **argv) { int monitor = 0; static const int one = 1; - static const struct addrinfo prefs = { + struct addrinfo prefs = { .ai_flags = AI_PASSIVE, .ai_family = PF_INET, .ai_socktype = SOCK_DGRAM, -- [mdw]