]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
made urlfree static, added (void) in front of one of the SSL calls. I did
authorDaniel Stenberg <daniel@haxx.se>
Mon, 31 Jul 2000 21:31:27 +0000 (21:31 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 31 Jul 2000 21:31:27 +0000 (21:31 +0000)
these changes when trying to run lclint on the curl code.

lib/url.c

index 3930da5e24a859fa62f420a12e27e82dbf98faf1..b8e62838ef2cf1548109df4d515d2c011e1a98e3 100644 (file)
--- 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);