~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
163ed8a
)
clients/playrtp.c: Make the `getaddrinfo' hints structure writable.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 4 May 2020 17:27:19 +0000
(18:27 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 5 May 2020 22:18:28 +0000
(23:18 +0100)
I'm going to want to update this -- specifically the `ai_family' member
-- according to things I find at runtime.
clients/playrtp.c
patch
|
blob
|
blame
|
history
diff --git
a/clients/playrtp.c
b/clients/playrtp.c
index
b5da73f
..
eda7ce9
100644
(file)
--- 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;
- st
atic const st
ruct addrinfo prefs = {
+ struct addrinfo prefs = {
.ai_flags = AI_PASSIVE,
.ai_family = PF_INET,
.ai_socktype = SOCK_DGRAM,