aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-01-30 04:41:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-01-30 04:41:00 +0000
commit61345121e51771328803c9ee8fbe15e4177a25df (patch)
treec3aa7d3626b63567096546435932c509d2dfec41 /fetchmail.c
parent46a0fc8557cf1c5b765c7c761d891aa6f021c159 (diff)
downloadfetchmail-61345121e51771328803c9ee8fbe15e4177a25df.tar.gz
fetchmail-61345121e51771328803c9ee8fbe15e4177a25df.tar.bz2
fetchmail-61345121e51771328803c9ee8fbe15e4177a25df.zip
This version appears ready to ship.
svn path=/trunk/; revision=2355
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c3
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);