projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0224b
)
fix compiler warnings for SSL-disabled builds
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 25 Jan 2007 21:00:03 +0000
(21:00 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 25 Jan 2007 21:00:03 +0000
(21:00 +0000)
lib/sslgen.c
patch
|
blob
|
history
lib/sslgen.h
patch
|
blob
|
history
diff --git
a/lib/sslgen.c
b/lib/sslgen.c
index
210ea9a
..
f110a51
100644
(file)
--- a/
lib/sslgen.c
+++ b/
lib/sslgen.c
@@
-609,6
+609,9
@@
bool Curl_ssl_data_pending(struct connectdata *conn,
if(conn->ssl[connindex].handle)
/* SSL is in use */
return SSL_pending(conn->ssl[connindex].handle);
+#else
+ (void)conn;
+ (void)connindex;
#endif
return FALSE; /* nothing pending */
diff --git
a/lib/sslgen.h
b/lib/sslgen.h
index
eef9298
..
c24d46b
100644
(file)
--- a/
lib/sslgen.h
+++ b/
lib/sslgen.h
@@
-77,7
+77,6
@@
bool Curl_ssl_data_pending(struct connectdata *conn,
#if !defined(USE_SSL) && !defined(SSLGEN_C)
/* set up blank macros for none-SSL builds */
#define Curl_ssl_close_all(x)
-#define Curl_ssl_data_pending(x,y) 0
#endif
#define SSL_SHUTDOWN_TIMEOUT 10000 /* ms */