mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:03:40 +03:00
time: rename Curl_tvnow to Curl_now
... since the 'tv' stood for timeval and this function does not return a timeval struct anymore. Also, cleaned up the Curl_timediff*() functions to avoid typecasts and clean up the descriptive comments. Closes #2011
This commit is contained in:
parent
1d72b5b891
commit
5d543fe906
23 changed files with 73 additions and 83 deletions
|
|
@ -1233,7 +1233,7 @@ static CURLcode smtp_done(struct connectdata *conn, CURLcode status,
|
|||
}
|
||||
else {
|
||||
/* Successfully sent so adjust the response timeout relative to now */
|
||||
pp->response = Curl_tvnow();
|
||||
pp->response = Curl_now();
|
||||
|
||||
free(eob);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue