mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
made urlfree static, added (void) in front of one of the SSL calls. I did
these changes when trying to run lclint on the curl code.
This commit is contained in:
parent
1cf13c825f
commit
a79b541bd2
@ -142,12 +142,12 @@ void curl_free(void)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void urlfree(struct UrlData *data, bool totally)
|
void static urlfree(struct UrlData *data, bool totally)
|
||||||
{
|
{
|
||||||
#ifdef USE_SSLEAY
|
#ifdef USE_SSLEAY
|
||||||
if (data->use_ssl) {
|
if (data->use_ssl) {
|
||||||
if(data->ssl) {
|
if(data->ssl) {
|
||||||
SSL_shutdown(data->ssl);
|
(void)SSL_shutdown(data->ssl);
|
||||||
SSL_set_connect_state(data->ssl);
|
SSL_set_connect_state(data->ssl);
|
||||||
|
|
||||||
SSL_free (data->ssl);
|
SSL_free (data->ssl);
|
||||||
|
Loading…
Reference in New Issue
Block a user