Fossil SCM

Fix a compiler warning in the SSL module.

drh 2010-03-06 15:21 trunk
Commit 582570708805dc413595d11199161a8e3fe1f425
1 file changed +1 -1
+1 -1
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -111,11 +111,11 @@
111111
** Close the currently open SSL connection. If no connection is open,
112112
** this routine is a no-op.
113113
*/
114114
void ssl_close(void){
115115
if( iBio!=NULL ){
116
- BIO_reset(iBio);
116
+ (void)BIO_reset(iBio);
117117
BIO_free_all(iBio);
118118
}
119119
}
120120
121121
/*
122122
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -111,11 +111,11 @@
111 ** Close the currently open SSL connection. If no connection is open,
112 ** this routine is a no-op.
113 */
114 void ssl_close(void){
115 if( iBio!=NULL ){
116 BIO_reset(iBio);
117 BIO_free_all(iBio);
118 }
119 }
120
121 /*
122
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -111,11 +111,11 @@
111 ** Close the currently open SSL connection. If no connection is open,
112 ** this routine is a no-op.
113 */
114 void ssl_close(void){
115 if( iBio!=NULL ){
116 (void)BIO_reset(iBio);
117 BIO_free_all(iBio);
118 }
119 }
120
121 /*
122

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button