From 27913c3699c6f71d3a3c0e6a21538d0027411911 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 20 Mar 2017 09:07:29 -0300 Subject: [PATCH] fix progressbar output in advio --- lib/advio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/advio.c b/lib/advio.c index 3171543b0..fd897286f 100644 --- a/lib/advio.c +++ b/lib/advio.c @@ -150,6 +150,7 @@ int aupload(AFILE *af) fseek(af->file, 0, SEEK_SET); res = curl_easy_perform(af->curl); + printf("\n"); /* do not continue in the same line as the progress bar */ fseek(af->file, pos, SEEK_SET); /* Restore old stream pointer */ @@ -169,6 +170,7 @@ int adownload(AFILE *af) rewind(af->file); res = curl_easy_perform(af->curl); + printf("\n"); /* do not continue in the same line as the progress bar */ switch (res) { case CURLE_OK: curl_easy_getinfo(af->curl, CURLINFO_RESPONSE_CODE, &code);