Commit 2b44fdab authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

don't do final newline output when using progress callback

parent 3e0a95bb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -97,6 +97,8 @@ void Curl_pgrsDone(struct connectdata *conn)
  if(!(data->progress.flags & PGRS_HIDE)) {
    data->progress.lastshow=0;
    Curl_pgrsUpdate(conn); /* the final (forced) update */
    if(!data->progress.callback)
      /* only output if we don't use progress callback */
      fprintf(data->err, "\n");
  }
}