misc todo's and related fixes

This commit is contained in:
Sergio R. Caprile committed 2026-07-29 16:06:29 -03:00
1 parent bfdc14ce0a
commit 3c11521446
6 files changed
+37 -10

No files matched your search

-1
View File
@@ -463,7 +463,6 @@ static void handle_mdns_query(struct mg_connection *c) {
MG_VERBOSE(("RR %u %u %s", (unsigned int) rr.atype,
(unsigned int) rr.aclass, name));
if (rr.atype == MG_DNS_RTYPE_A) {
// TODO(): ensure c->fn_data ends in \0
// if we have a name to match, go; otherwise users will match and fill
// req.r.name and set req.is_resp
if (c->fn_data != NULL && mg_casecmp((char *) c->fn_data, name) != 0)