mdns: fixed typos in the variable names and the comments

* Original commit: espressif/esp-idf@ecca39e19f
This commit is contained in:
David Cermak authored and suren-gabrielyan-espressif committed 2022-05-27 17:44:23 +04:00
1 parent 6713ffedcc
commit b5e5a64e7f
3 files changed
+47 -47

No files matched your search

+2 -2
View File
@@ -81,7 +81,7 @@ typedef struct mdns_result_s {
mdns_txt_item_t * txt; /*!< txt record */
size_t txt_count; /*!< number of txt items */
// A and AAAA
mdns_ip_addr_t * addr; /*!< linked list of IP addreses found */
mdns_ip_addr_t * addr; /*!< linked list of IP addresses found */
} mdns_result_t;
/**
@@ -141,7 +141,7 @@ esp_err_t mdns_instance_name_set(const char * instance_name);
* - ESP_OK success
* - ESP_ERR_INVALID_ARG Parameter error
* - ESP_ERR_NO_MEM memory error
* - ESP_FAIL failed to add serivce
* - ESP_FAIL failed to add service
*/
esp_err_t mdns_service_add(const char * instance_name, const char * service_type, const char * proto, uint16_t port, mdns_txt_item_t txt[], size_t num_items);