mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
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:
parent
30c2907962
commit
783ff22ebf
@ -1209,7 +1209,8 @@ int esp_http_client_get_errno(esp_http_client_handle_t client)
|
|||||||
return esp_transport_get_errno(client->transport);
|
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) {
|
if (!client) {
|
||||||
ESP_LOGE(TAG, "Invalid client handle");
|
ESP_LOGE(TAG, "Invalid client handle");
|
||||||
return ESP_FAIL;
|
return ESP_FAIL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user