dovecot-1.1: "Can't open log file" error was missing linefeed.

dovecot at dovecot.org dovecot at dovecot.org
Thu May 15 07:53:14 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/45a4fe590389
changeset: 7518:45a4fe590389
user:      Timo Sirainen <tss at iki.fi>
date:      Thu May 15 07:53:11 2008 +0300
description:
"Can't open log file" error was missing linefeed.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/failures.c |    2 +-

diffs (12 lines):

diff -r e0007da64cdc -r 45a4fe590389 src/lib/failures.c
--- a/src/lib/failures.c	Thu May 15 07:43:13 2008 +0300
+++ b/src/lib/failures.c	Thu May 15 07:53:11 2008 +0300
@@ -358,7 +358,7 @@ static void open_log_file(int *fd, const
 		if (*fd == -1) {
 			*fd = STDERR_FILENO;
 			i_snprintf(buf, sizeof(buf),
-				   "Can't open log file %s: %m", path);
+				   "Can't open log file %s: %m\n", path);
 			(void)write_full(STDERR_FILENO, buf, strlen(buf));
 			failure_exit(FATAL_LOGOPEN);
 		}


More information about the dovecot-cvs mailing list