diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-18 16:23:52 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-18 16:23:52 +0000 |
commit | e6eb8c0224e585735c113613b7fa42402778476d (patch) | |
tree | 212c6d70a21fc7abadda66430c529c299cbfbf51 /src/htslib.c | |
parent | 189cde335fc51c7c858080624d879faa5f88b83e (diff) |
transfered => transferred
Diffstat (limited to 'src/htslib.c')
-rw-r--r-- | src/htslib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/htslib.c b/src/htslib.c index 04f4360..dbb7c59 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -4552,7 +4552,7 @@ LLint check_downloadable_bytes(int rate) { if (rate > 0) { TStamp time_now; TStamp elapsed_useconds; - LLint bytes_transfered_during_period; + LLint bytes_transferred_during_period; LLint left; // get the older timer @@ -4561,10 +4561,10 @@ LLint check_downloadable_bytes(int rate) { time_now = mtime_local(); elapsed_useconds = time_now - HTS_STAT.istat_timestart[id_timer]; // NO totally stupid - elapsed_useconds+=1000; // for the next second, too - bytes_transfered_during_period = + bytes_transferred_during_period = (HTS_STAT.HTS_TOTAL_RECV - HTS_STAT.istat_bytes[id_timer]); - left = ((rate * elapsed_useconds) / 1000) - bytes_transfered_during_period; + left = ((rate * elapsed_useconds) / 1000) - bytes_transferred_during_period; if (left <= 0) left = 0; |