dovecot-2.0: master: Build help and --log-error message to stder...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 1 00:25:37 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/e139e62cfa22
changeset: 9958:e139e62cfa22
user: Timo Sirainen <tss at iki.fi>
date: Wed Sep 30 17:25:29 2009 -0400
description:
master: Build help and --log-error message to stderr, not stdout.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/master/main.c | 4 ++--
diffs (21 lines):
diff -r 4b18863b7213 -r e139e62cfa22 src/master/main.c
--- a/src/master/main.c Wed Sep 30 17:07:12 2009 -0400
+++ b/src/master/main.c Wed Sep 30 17:25:29 2009 -0400
@@ -404,7 +404,7 @@ static void main_init(bool log_error)
(void)umask(0077);
if (log_error) {
- printf("Writing to error logs and killing myself..\n");
+ fprintf(stderr, "Writing to error logs and killing myself..\n");
i_info("This is Dovecot's info log");
i_warning("This is Dovecot's warning log");
i_error("This is Dovecot's error log");
@@ -488,7 +488,7 @@ static void daemonize(void)
static void print_help(void)
{
- printf(
+ fprintf(stderr,
"Usage: dovecot [-F] [-c <config file>] [-p] [-n] [-a]\n"
" [-cb <config binary path>] [--version] [--build-options]\n");
}
More information about the dovecot-cvs
mailing list