mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
fflush messages on print_err
This commit is contained in:
parent
5a6271c85d
commit
79cebb663b
|
|
@ -491,8 +491,8 @@ static inline void print_stuff(const rzip_control *control, int level, unsigned
|
|||
} else if (control->msgout) {
|
||||
va_start(ap, format);
|
||||
vfprintf(control->msgout, format, ap);
|
||||
fflush(control->msgout);
|
||||
va_end(ap);
|
||||
fflush(control->msgout);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -507,6 +507,7 @@ static inline void print_err(const rzip_control *control, unsigned int line, con
|
|||
va_start(ap, format);
|
||||
vfprintf(control->msgerr, format, ap);
|
||||
va_end(ap);
|
||||
fflush(control->msgerr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue