mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[mdns] Fix compile warning "directive output may be truncated" (provided
string length might not be big enough for ipv6 addresses)
This commit is contained in:
parent
697338d118
commit
ef3ab53562
@ -555,7 +555,7 @@ static int
|
|||||||
address_check(AvahiProtocol proto, const char *hostname, const AvahiAddress *addr, int port)
|
address_check(AvahiProtocol proto, const char *hostname, const AvahiAddress *addr, int port)
|
||||||
{
|
{
|
||||||
char address[AVAHI_ADDRESS_STR_MAX];
|
char address[AVAHI_ADDRESS_STR_MAX];
|
||||||
char address_log[AVAHI_ADDRESS_STR_MAX];
|
char address_log[AVAHI_ADDRESS_STR_MAX + 2];
|
||||||
int family;
|
int family;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user