[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:
chme 2018-09-02 07:46:50 +02:00
parent 697338d118
commit ef3ab53562

View File

@ -555,7 +555,7 @@ static int
address_check(AvahiProtocol proto, const char *hostname, const AvahiAddress *addr, int port)
{
char address[AVAHI_ADDRESS_STR_MAX];
char address_log[AVAHI_ADDRESS_STR_MAX];
char address_log[AVAHI_ADDRESS_STR_MAX + 2];
int family;
int ret;