aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-07-31 21:31:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-07-31 21:31:27 +0000
commita79b541bd219bf97bfcd56045dfe3cdc0b8e0b67 (patch)
tree80f0d7f9b9173a78dd27116007deb1fa5ccce229
parent1cf13c825fa9e45a3dc8f7abf5aa43d8446b89ab (diff)
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.
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 3930da5e2..b8e62838e 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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);