diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-07-29 12:49:05 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-07-30 11:10:27 +0200 |
commit | 6f6ab37de7e235ebafcba45f12ac7df42019083e (patch) | |
tree | 03d8e5c3d9073be341c20215d07f31f4deb087ed | |
parent | 041690aadb1357775ff06c5bf827a98585627c76 (diff) | |
download | curl-bagder/start-transfer-time.tar.gz |
readwrite_data: repair setting the TIMER_STARTTRANSFER stampbagder/start-transfer-time
Regression, broken in commit 65eb65fde64bd5f (curl 7.64.1)
Reported-by: Jonathan Cardoso Machado
Assisted-by: Jay Satiro
Fixes #4136
Closes #4162
-rw-r--r-- | lib/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index b9bb5f6ed..18d805d64 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -601,7 +601,7 @@ static CURLcode readwrite_data(struct Curl_easy *data, nread = 0; } - if((k->bytecount == 0) && (k->writebytecount == 0)) { + if(!k->bytecount) { Curl_pgrsTime(data, TIMER_STARTTRANSFER); if(k->exp100 > EXP100_SEND_DATA) /* set time stamp to compare with when waiting for the 100 */ |