summaryrefslogtreecommitdiff
path: root/lib/nss.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/nss.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/nss.c')
-rw-r--r--lib/nss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nss.c b/lib/nss.c
index 7db2d8d76..a5e11e2fc 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -1361,7 +1361,7 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
SSL_SetURL(connssl->handle, conn->host.name);
/* check timeout situation */
- time_left = Curl_timeleft(conn, NULL, TRUE);
+ time_left = Curl_timeleft(data, NULL, TRUE);
if(time_left < 0L) {
failf(data, "timed out before SSL handshake");
goto error;