aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connect.c')
-rw-r--r--lib/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 3cde1805e..69d84c359 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -174,7 +174,7 @@ long Curl_timeleft(struct SessionHandle *data,
nowp = &now;
}
- /* substract elapsed time */
+ /* subtract elapsed time */
timeout_ms -= Curl_tvdiff(*nowp, data->progress.t_startsingle);
if(!timeout_ms)
/* avoid returning 0 as that means no timeout! */