avahi/avahi-random-return.patch

13 lines
310 B
Diff

dns.c: In function 'consume_labels':
dns.c:403: warning: control reaches end of non-void function
--- avahi-core/dns.c
+++ avahi-core/dns.c
@@ -400,6 +400,7 @@
} else
return -1;
}
+ return -1;
}
int avahi_dns_packet_consume_name(AvahiDnsPacket *p, char *ret_name, size_t l) {