summaryrefslogtreecommitdiff
path: root/lib/progress.c
diff options
context:
space:
mode:
authorFabian Keil <fk@fabiankeil.de>2011-04-19 15:54:13 +0200
committerJulien Chaffraix <julien.chaffraix@gmail.com>2011-04-21 07:55:53 -0700
commit1702a2c08d3a0ed5945f34e6cd38436611f65164 (patch)
treee72941241445237dc35527c098d6c2ca098bfaa5 /lib/progress.c
parent9230be0797cc7d155240fd38d07bee041527bbc2 (diff)
downloadcurl-1702a2c08d3a0ed5945f34e6cd38436611f65164.tar.gz
Fix a couple of spelling errors in lib/
Found with codespell.
Diffstat (limited to 'lib/progress.c')
-rw-r--r--lib/progress.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/progress.c b/lib/progress.c
index 49047f1a6..e37c34d99 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -409,17 +409,17 @@ int Curl_pgrsUpdate(struct connectdata *conn)
time2str(time_total, total_estimate);
time2str(time_spent, timespent);
- /* Get the total amount of data expected to get transfered */
+ /* Get the total amount of data expected to get transferred */
total_expected_transfer =
(data->progress.flags & PGRS_UL_SIZE_KNOWN?
data->progress.size_ul:data->progress.uploaded)+
(data->progress.flags & PGRS_DL_SIZE_KNOWN?
data->progress.size_dl:data->progress.downloaded);
- /* We have transfered this much so far */
+ /* We have transferred this much so far */
total_transfer = data->progress.downloaded + data->progress.uploaded;
- /* Get the percentage of data transfered so far */
+ /* Get the percentage of data transferred so far */
if(total_expected_transfer > CURL_OFF_T_C(10000))
total_percen = total_transfer /
(total_expected_transfer/CURL_OFF_T_C(100));