diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-07-31 21:31:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-07-31 21:31:27 +0000 |
commit | a79b541bd219bf97bfcd56045dfe3cdc0b8e0b67 (patch) | |
tree | 80f0d7f9b9173a78dd27116007deb1fa5ccce229 | |
parent | 1cf13c825fa9e45a3dc8f7abf5aa43d8446b89ab (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |