chiark / gitweb /
clients/playrtp.c: Make the `getaddrinfo' hints structure writable.
[disorder] / clients / playrtp.c
index b5da73fdbe500695fafd686331a96e53892ae709..eda7ce9d27d5c7fa7b60504218e96b303f76f10e 100644 (file)
@@ -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,