diff --git a/components/esp_http_client/include/esp_http_client.h b/components/esp_http_client/include/esp_http_client.h index 35ca5a877a..8f2fff0e64 100644 --- a/components/esp_http_client/include/esp_http_client.h +++ b/components/esp_http_client/include/esp_http_client.h @@ -588,7 +588,7 @@ int esp_http_client_write(esp_http_client_handle_t client, const char *buffer, i * @param[in] client The esp_http_client handle * * @return - * - (0) if stream doesn't contain content-length header, or chunked encoding (checked by `esp_http_client_is_chunked` response) + * - (0) if stream doesn't contain content-length header, or chunked encoding (checked by `esp_http_client_is_chunked_response`) * - (-1: ESP_FAIL) if any errors * - (-ESP_ERR_HTTP_EAGAIN = -0x7007) if call is timed-out before any data was ready * - Download data length defined by content-length header