Commit d27cbec5 authored by David Dykstra's avatar David Dykstra

Reversing the order of maybe_emit_filelist_progress() and

emit_filelist_progress() makes the native compilers on systems
including Solaris and Irix happier.
parent f5be54d6
...@@ -84,16 +84,16 @@ static void start_filelist_progress(char *kind) ...@@ -84,16 +84,16 @@ static void start_filelist_progress(char *kind)
} }
static void maybe_emit_filelist_progress(const struct file_list *flist) static void emit_filelist_progress(const struct file_list *flist)
{ {
if (do_progress && show_filelist_p() && ((flist->count % 100) == 0)) rprintf(FINFO, " %d files...\r", flist->count);
emit_filelist_progress(flist);
} }
static void emit_filelist_progress(const struct file_list *flist) static void maybe_emit_filelist_progress(const struct file_list *flist)
{ {
rprintf(FINFO, " %d files...\r", flist->count); if (do_progress && show_filelist_p() && ((flist->count % 100) == 0))
emit_filelist_progress(flist);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment