dovecot-2.2: Fixed compiling with old gcc.

dovecot at dovecot.org dovecot at dovecot.org
Thu Aug 29 00:57:25 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/5d22d0c0b233
changeset: 16701:5d22d0c0b233
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Aug 29 00:53:30 2013 +0300
description:
Fixed compiling with old gcc.

diffstat:

 src/log/log-error-buffer.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f965670a7b69 -r 5d22d0c0b233 src/log/log-error-buffer.c
--- a/src/log/log-error-buffer.c	Tue Aug 27 04:06:43 2013 +0300
+++ b/src/log/log-error-buffer.c	Thu Aug 29 00:53:30 2013 +0300
@@ -10,7 +10,7 @@
 
 	enum log_type type;
 	time_t timestamp;
-	unsigned char prefix_text[];
+	unsigned char prefix_text[FLEXIBLE_ARRAY_MEMBER];
 };
 
 struct log_error_buffer {


More information about the dovecot-cvs mailing list