summaryrefslogtreecommitdiff
path: root/lib/qssl.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-01-04 23:07:58 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-01-04 23:13:10 +0100
commitadb49ad8bb280b586b387ba930c0681afee03923 (patch)
treee27abe8ee4a9fc68d269f0492ccce761f07d3249 /lib/qssl.c
parenta2c8966d508d208f5aa5398952a113d504ae85f9 (diff)
downloadcurl-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/qssl.c')
-rw-r--r--lib/qssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/qssl.c b/lib/qssl.c
index dd4f911d1..e56a651e5 100644
--- a/lib/qssl.c
+++ b/lib/qssl.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -175,7 +175,7 @@ static CURLcode Curl_qsossl_handshake(struct connectdata * conn, int sockindex)
h->exitPgm = Curl_qsossl_trap_cert;
/* figure out how long time we should wait at maximum */
- timeout_ms = Curl_timeleft(conn, NULL, TRUE);
+ timeout_ms = Curl_timeleft(data, NULL, TRUE);
if(timeout_ms < 0) {
/* time-out, bail out, go home */