Merge pull request #2615 from maflcko/patch-1

Update dnserver.c: Match dnserv_free signature with fwd-decl
This commit is contained in:
HiFiPhile 2024-04-30 13:42:57 +02:00 committed by GitHub
commit 40319ccf9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,7 +192,7 @@ err_t dnserv_init(const ip_addr_t *bind, uint16_t port, dns_query_proc_t qp)
return ERR_OK;
}
void dnserv_free()
void dnserv_free(void)
{
if (pcb == NULL) return;
udp_remove(pcb);