Skip to content

Commit

Permalink
unit1399: fix integer overflow
Browse files Browse the repository at this point in the history
Bug: #1616
Closes #1633
  • Loading branch information
rylwin authored and bagder committed Jul 3, 2017
1 parent 4fc6ebe commit 3a48a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/unit1399.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ UNITTEST_START
*/
data.progress.t_startsingle.tv_sec = now.tv_sec - 3;
data.progress.t_startsingle.tv_usec = now.tv_usec;
data.progress.t_redirect = (now.tv_sec - 2) * usec_magnitude;
data.progress.t_redirect = data.progress.t_starttransfer + 1;

Curl_pgrsTime(&data, TIMER_STARTTRANSFER);

Expand Down

0 comments on commit 3a48a13

Please sign in to comment.