Skip to content

Commit

Permalink
Update components/esp_http_client/esp_http_client.c
Browse files Browse the repository at this point in the history
Co-authored-by: Nilesh Kale <[email protected]>
  • Loading branch information
KonssnoK and nileshkale123 authored Jan 10, 2025
1 parent 7dcbf43 commit c485cfe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/esp_http_client/esp_http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1160,11 +1160,7 @@ esp_err_t esp_http_client_get_and_clear_last_tls_error(esp_http_client_handle_t
ESP_LOGE(TAG, "Invalid client handle");
return ESP_FAIL;
}
return esp_tls_get_and_clear_last_error(
esp_transport_get_error_handle(client->transport),
tls_code,
tls_flags
);
return esp_tls_get_and_clear_last_error(esp_transport_get_error_handle(client->transport), tls_code, tls_flags);
}

esp_err_t esp_http_client_set_method(esp_http_client_handle_t client, esp_http_client_method_t method)
Expand Down

0 comments on commit c485cfe

Please sign in to comment.