esp_http_client.h: Fix return type in declaration of esp_http_client_flush_response.

Closes: https://github.com/espressif/esp-idf/pull/5845
This commit is contained in:
Shubham Kulkarni 2020-09-21 16:03:39 +05:30
parent c34c961910
commit 661c18c578

View File

@ -537,7 +537,7 @@ int esp_http_client_read_response(esp_http_client_handle_t client, char *buffer,
* - ESP_FAIL If failed to read response
* - ESP_ERR_INVALID_ARG If the client is NULL
*/
int esp_http_client_flush_response(esp_http_client_handle_t client, int *len);
esp_err_t esp_http_client_flush_response(esp_http_client_handle_t client, int *len);
/**
* @brief Get URL from client