fix(esp_http_client): update code format for API

This commit update code format as per IDF standard for API
esp_http_client_get_and_clear_last_tls_error().
This commit is contained in:
nilesh.kale
2025-01-21 10:24:33 +05:30
parent 5bd8026249
commit 10fe93f1c3

View File

@@ -1170,7 +1170,8 @@ int esp_http_client_get_errno(esp_http_client_handle_t client)
return esp_transport_get_errno(client->transport);
}
esp_err_t esp_http_client_get_and_clear_last_tls_error(esp_http_client_handle_t client, int *tls_code, int *tls_flags){
esp_err_t esp_http_client_get_and_clear_last_tls_error(esp_http_client_handle_t client, int *tls_code, int *tls_flags)
{
if (!client) {
ESP_LOGE(TAG, "Invalid client handle");
return ESP_FAIL;