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/ssh.c | |
parent | a2c8966d508d208f5aa5398952a113d504ae85f9 (diff) |
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/ssh.c')
-rw-r--r-- | lib/ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2457,7 +2457,7 @@ static CURLcode ssh_easy_statemach(struct connectdata *conn, if(Curl_pgrsUpdate(conn)) return CURLE_ABORTED_BY_CALLBACK; - left = Curl_timeleft(conn, NULL, duringconnect); + left = Curl_timeleft(data, NULL, duringconnect); if(left < 0) { failf(data, "Operation timed out\n"); return CURLE_OPERATION_TIMEDOUT; |