summaryrefslogtreecommitdiff
path: root/lib/getinfo.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-26 08:26:20 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-26 08:28:38 +0200
commitd23cc224e6d25eec99a988f4db18c040bde3e97b (patch)
tree5ea8c47ef7862a636c0cc2b7bd98f9d0c5ffdb05 /lib/getinfo.c
parentad829b21ae9e0f11a821a0a98a1aaab161efa9a2 (diff)
downloadcurl-d23cc224e6d25eec99a988f4db18c040bde3e97b.tar.gz
cleanup: use a single space after equals sign in assignments
Diffstat (limited to 'lib/getinfo.c')
-rw-r--r--lib/getinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c
index 84d9fc1c6..f26d47947 100644
--- a/lib/getinfo.c
+++ b/lib/getinfo.c
@@ -320,7 +320,7 @@ static CURLcode getinfo_offt(struct Curl_easy *data, CURLINFO info,
*param_offt = data->progress.downloaded;
break;
case CURLINFO_SPEED_DOWNLOAD_T:
- *param_offt = data->progress.dlspeed;
+ *param_offt = data->progress.dlspeed;
break;
case CURLINFO_SPEED_UPLOAD_T:
*param_offt = data->progress.ulspeed;
@@ -408,13 +408,13 @@ static CURLcode getinfo_double(struct Curl_easy *data, CURLINFO info,
*param_doublep = DOUBLE_SECS(data->progress.t_starttransfer);
break;
case CURLINFO_SIZE_UPLOAD:
- *param_doublep = (double)data->progress.uploaded;
+ *param_doublep = (double)data->progress.uploaded;
break;
case CURLINFO_SIZE_DOWNLOAD:
*param_doublep = (double)data->progress.downloaded;
break;
case CURLINFO_SPEED_DOWNLOAD:
- *param_doublep = (double)data->progress.dlspeed;
+ *param_doublep = (double)data->progress.dlspeed;
break;
case CURLINFO_SPEED_UPLOAD:
*param_doublep = (double)data->progress.ulspeed;