mdns: Update error message after argument type changed

Method argument is no longer netif, but a mdns_host
This commit is contained in:
Erik Ekman 2016-09-28 17:23:54 +02:00
parent 633696c153
commit 78498981e2

View File

@ -591,7 +591,7 @@ mdns_build_host_domain(struct mdns_domain *domain, struct mdns_host *mdns)
{
err_t res;
memset(domain, 0, sizeof(struct mdns_domain));
LWIP_ERROR("mdns_build_host_domain: Not an mdns netif", (mdns != NULL), return ERR_VAL);
LWIP_ERROR("mdns_build_host_domain: mdns != NULL", (mdns != NULL), return ERR_VAL);
res = mdns_domain_add_label(domain, mdns->name, (u8_t)strlen(mdns->name));
LWIP_ERROR("mdns_build_host_domain: Failed to add label", (res == ERR_OK), return res);
return mdns_add_dotlocal(domain);