mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
mdns: use const char* for mdns txt items types to remove warning when assigning
This commit is contained in:
@@ -44,8 +44,8 @@ typedef enum {
|
|||||||
* Used in mdns_service_add()
|
* Used in mdns_service_add()
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char * key; /*!< item key name */
|
const char * key; /*!< item key name */
|
||||||
char * value; /*!< item value string */
|
const char * value; /*!< item value string */
|
||||||
} mdns_txt_item_t;
|
} mdns_txt_item_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user