mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-23 15:27:28 +02:00
mdns: return ESP_OK rather than ERR_OK in API functions
* Original commit: espressif/esp-idf@2386113972
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
46f28a8011
commit
8a120829e2
@ -4801,7 +4801,7 @@ esp_err_t mdns_hostname_set(const char * hostname)
|
|||||||
return ESP_ERR_NO_MEM;
|
return ESP_ERR_NO_MEM;
|
||||||
}
|
}
|
||||||
xTaskNotifyWait(0, 0, NULL, portMAX_DELAY);
|
xTaskNotifyWait(0, 0, NULL, portMAX_DELAY);
|
||||||
return ERR_OK;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
esp_err_t mdns_delegate_hostname_add(const char * hostname, const mdns_ip_addr_t * address_list)
|
esp_err_t mdns_delegate_hostname_add(const char * hostname, const mdns_ip_addr_t * address_list)
|
||||||
@ -4831,7 +4831,7 @@ esp_err_t mdns_delegate_hostname_add(const char * hostname, const mdns_ip_addr_t
|
|||||||
free(action);
|
free(action);
|
||||||
return ESP_ERR_NO_MEM;
|
return ESP_ERR_NO_MEM;
|
||||||
}
|
}
|
||||||
return ERR_OK;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
esp_err_t mdns_delegate_hostname_remove(const char * hostname)
|
esp_err_t mdns_delegate_hostname_remove(const char * hostname)
|
||||||
@ -4860,7 +4860,7 @@ esp_err_t mdns_delegate_hostname_remove(const char * hostname)
|
|||||||
free(action);
|
free(action);
|
||||||
return ESP_ERR_NO_MEM;
|
return ESP_ERR_NO_MEM;
|
||||||
}
|
}
|
||||||
return ERR_OK;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool mdns_hostname_exists(const char * hostname)
|
bool mdns_hostname_exists(const char * hostname)
|
||||||
@ -4894,7 +4894,7 @@ esp_err_t mdns_instance_name_set(const char * instance)
|
|||||||
free(action);
|
free(action);
|
||||||
return ESP_ERR_NO_MEM;
|
return ESP_ERR_NO_MEM;
|
||||||
}
|
}
|
||||||
return ERR_OK;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user