aboutsummaryrefslogtreecommitdiff
path: root/lib/polarssl.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-04 21:19:14 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-04 21:19:14 +0200
commit4f170ee8f9c1d067022300df2da331c30dcda9dd (patch)
tree5734ca49661f8085638ab8255ac60448b2f61cb9 /lib/polarssl.c
parentfba00c9f7be2dad06b8691952508882c4da14185 (diff)
Curl_socket_ready: make timeout a 'long'
It was mostly typecasted to int all over the code so switching to long instead all over should be a net gain.
Diffstat (limited to 'lib/polarssl.c')
-rw-r--r--lib/polarssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/polarssl.c b/lib/polarssl.c
index 370b8c64c..2e70a28d5 100644
--- a/lib/polarssl.c
+++ b/lib/polarssl.c
@@ -238,7 +238,7 @@ Curl_polarssl_connect(struct connectdata *conn,
}
switch(Curl_socket_ready(conn->sock[sockindex],
- CURL_SOCKET_BAD, timeout_ms)) {
+ CURL_SOCKET_BAD, timeout_ms)) {
case 0:
failf(data, "SSL handshake timeout");
return CURLE_OPERATION_TIMEDOUT;