mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-16 12:02:11 +02:00
mdns: use const char* for mdns txt items types to remove warning when assigning
* Original commit: espressif/esp-idf@c050a75616
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
4c6818ee97
commit
84cbb1f3cf
@ -44,8 +44,8 @@ typedef enum {
|
||||
* Used in mdns_service_add()
|
||||
*/
|
||||
typedef struct {
|
||||
char * key; /*!< item key name */
|
||||
char * value; /*!< item value string */
|
||||
const char * key; /*!< item key name */
|
||||
const char * value; /*!< item value string */
|
||||
} mdns_txt_item_t;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user