mirror of
https://github.com/curl/curl.git
synced 2026-08-05 04:36:14 +03:00
timeval: struct curltime is a struct timeval replacement
... to make all libcurl internals able to use the same data types for the struct members. The timeval struct differs subtly on several platforms so it makes it cumbersome to use everywhere. Ref: #1652 Closes #1693
This commit is contained in:
parent
7551e55d66
commit
4dee50b9c8
29 changed files with 152 additions and 128 deletions
|
|
@ -2827,7 +2827,7 @@ static CURLcode ssh_block_statemach(struct connectdata *conn,
|
|||
while((sshc->state != SSH_STOP) && !result) {
|
||||
bool block;
|
||||
time_t left = 1000;
|
||||
struct timeval now = Curl_tvnow();
|
||||
struct curltime now = Curl_tvnow();
|
||||
|
||||
result = ssh_statemach_act(conn, &block);
|
||||
if(result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue