Skip to content

Commit

Permalink
Merge pull request #578 from chme/avahilog
Browse files Browse the repository at this point in the history
[mdns] Fix compile warning "directive output may be truncated" (provided
  • Loading branch information
ejurgensen committed Sep 2, 2018
2 parents 697338d + ef3ab53 commit 48f11a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mdns_avahi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 48f11a8

Please sign in to comment.