summaryrefslogtreecommitdiff
path: root/src/tool_progress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_progress.c')
-rw-r--r--src/tool_progress.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tool_progress.c b/src/tool_progress.c
index da6c2bc6f..031f8b8d4 100644
--- a/src/tool_progress.c
+++ b/src/tool_progress.c
@@ -101,6 +101,9 @@ int xferinfo_cb(void *clientp,
per->ultotal = ultotal;
per->ulnow = ulnow;
+ if(per->abort)
+ return 1;
+
if(config->readbusy) {
config->readbusy = FALSE;
curl_easy_pause(per->curl, CURLPAUSE_CONT);