Commit a79b541b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent 1cf13c82
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
  if (data->use_ssl) {
    if(data->ssl) {
      SSL_shutdown(data->ssl);
      (void)SSL_shutdown(data->ssl);
      SSL_set_connect_state(data->ssl);

      SSL_free (data->ssl);