Merge pull request #578 from chme/avahilog

[mdns] Fix compile warning "directive output may be truncated" (provided
This commit is contained in:
ejurgensen 2018-09-02 08:24:48 +02:00 committed by GitHub
commit 48f11a8250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;