mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -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;
|
||||
|
||||
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;
|
||||
|
||||
switch (family)
|
||||
|
Loading…
Reference in New Issue
Block a user