From 27c226b5d62c0a73ef9aaf3ba253104d55cbe2f7 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sat, 2 Feb 2019 22:44:57 +0100 Subject: [PATCH] Fix a few documentation errors in MDNS --- src/apps/mdns/mdns.c | 2 +- src/apps/mdns/mdns_domain.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/mdns/mdns.c b/src/apps/mdns/mdns.c index 0260cebf..5130bf32 100644 --- a/src/apps/mdns/mdns.c +++ b/src/apps/mdns/mdns.c @@ -2503,7 +2503,7 @@ mdns_resp_add_service_txtitem(struct mdns_service *service, const char *txt, u8_ /** * @ingroup mdns * Stop a search request. - * @param req The search request to stop + * @param request_id The search request to stop */ void mdns_search_stop(s8_t request_id) diff --git a/src/apps/mdns/mdns_domain.c b/src/apps/mdns/mdns_domain.c index f35800cf..47934eff 100644 --- a/src/apps/mdns/mdns_domain.c +++ b/src/apps/mdns/mdns_domain.c @@ -139,7 +139,7 @@ mdns_domain_add_label_pbuf(struct mdns_domain *domain, const struct pbuf *p, u16 /** * Add a partial domain to a domain * @param domain The domain to add a label to - * @param source The domain to add, like <\x09_services\007_dns-sd\000> + * @param source The domain to add, like <\\x09_services\\007_dns-sd\\000> * @return ERR_OK on success, an err_t otherwise if label too long */ err_t @@ -500,7 +500,7 @@ mdns_build_service_domain(struct mdns_domain *domain, struct mdns_service *servi * @param request The request struct, containing service name, type and protocol * @param include_name Whether to include the service name in the domain * @return ERR_OK if domain was written. If service name is included, - * ...local. will be written, otherwise ..local. + * \.\.\.local. will be written, otherwise \.\.local. * An err_t is returned on error. */ err_t