*/
static void _mdns_remove_scheduled_answer(tcpip_adapter_if_t tcpip_if, mdns_ip_protocol_t ip_protocol, uint16_t type, mdns_srv_item_t * service)
{
+ mdns_srv_item_t s = {NULL, NULL};
+ if (!service) {
+ service = &s;
+ }
mdns_tx_packet_t * q = _mdns_server->tx_queue_head;
while (q) {
if (q->tcpip_if == tcpip_if && q->ip_protocol == ip_protocol && q->distributed) {
if (!d) {
return;
}
+ mdns_srv_item_t s = {NULL, NULL};
+ if (!service) {
+ service = &s;
+ }
if (d->type == type && d->service == service->service) {
*destnation = d->next;
free(d);