mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
const corrections for esp_http_client_set_password()
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com> Closes: https://github.com/espressif/esp-idf/pull/6941
This commit is contained in:

committed by
Shubham Kulkarni

parent
9afd57057d
commit
0f3ad80a99
@@ -348,7 +348,7 @@ esp_err_t esp_http_client_get_password(esp_http_client_handle_t client, char **v
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
esp_err_t esp_http_client_set_password(esp_http_client_handle_t client, char *password)
|
||||
esp_err_t esp_http_client_set_password(esp_http_client_handle_t client, const char *password)
|
||||
{
|
||||
if (client == NULL) {
|
||||
ESP_LOGE(TAG, "client must not be NULL");
|
||||
|
Reference in New Issue
Block a user