diff options
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c index 8954e45e..17d278f3 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -164,6 +164,9 @@ int main (int argc, char **argv) if ((parsestatus = parsecmdline(argc,argv, &cmd_run, &cmd_opts)) < 0) exit(PS_SYNTAX); + /* this hint to stdio should help messages come out in the right order */ + setvbuf(stdout, NULL, _IOLBF, MSGBUFSIZE); + if (versioninfo) { printf(_("This is fetchmail release %s"), VERSION); |