mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 21:49:48 -05:00
Initialize sockaddr before binding
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user