mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
Initialize sockaddr before binding
This commit is contained in:
parent
17d4153b81
commit
e2390f9d22
@ -2596,6 +2596,7 @@ raop_v2_timing_start_one(struct raop_service *svc, int family)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(&sa, 0, sizeof(union sockaddr_all));
|
||||||
sa.ss.ss_family = family;
|
sa.ss.ss_family = family;
|
||||||
|
|
||||||
switch (family)
|
switch (family)
|
||||||
@ -2927,6 +2928,7 @@ raop_v2_control_start_one(struct raop_service *svc, int family)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(&sa, 0, sizeof(union sockaddr_all));
|
||||||
sa.ss.ss_family = family;
|
sa.ss.ss_family = family;
|
||||||
|
|
||||||
switch (family)
|
switch (family)
|
||||||
|
Loading…
Reference in New Issue
Block a user