diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-01-04 23:07:58 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-01-04 23:13:10 +0100 |
commit | adb49ad8bb280b586b387ba930c0681afee03923 (patch) | |
tree | e27abe8ee4a9fc68d269f0492ccce761f07d3249 /lib/ssluse.c | |
parent | a2c8966d508d208f5aa5398952a113d504ae85f9 (diff) | |
download | curl-adb49ad8bb280b586b387ba930c0681afee03923.tar.gz |
Curl_timeleft: s/conn/data in first argument
As the function doesn't really use the connectdata struct but only the
SessionHanadle struct I modified what argument it wants.
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r-- | lib/ssluse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index bafc7460a..2e4343597 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -2394,7 +2394,7 @@ ossl_connect_common(struct connectdata *conn, if(ssl_connect_1==connssl->connecting_state) { /* Find out how much more time we're allowed */ - timeout_ms = Curl_timeleft(conn, NULL, TRUE); + timeout_ms = Curl_timeleft(data, NULL, TRUE); if(timeout_ms < 0) { /* no need to continue if time already is up */ @@ -2411,7 +2411,7 @@ ossl_connect_common(struct connectdata *conn, ssl_connect_2_writing == connssl->connecting_state) { /* check allowed time left */ - timeout_ms = Curl_timeleft(conn, NULL, TRUE); + timeout_ms = Curl_timeleft(data, NULL, TRUE); if(timeout_ms < 0) { /* no need to continue if time already is up */ |