dovecot-1.3: Compile fix for old non-C99 compilers.

dovecot at dovecot.org dovecot at dovecot.org
Thu Apr 16 03:25:06 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.3/rev/b1e9bb291e70
changeset: 9116:b1e9bb291e70
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 15 20:24:53 2009 -0400
description:
Compile fix for old non-C99 compilers.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/master/login-process.c |    2 +-

diffs (12 lines):

diff -r 755d3c958892 -r b1e9bb291e70 src/master/login-process.c
--- a/src/master/login-process.c	Wed Apr 15 20:20:56 2009 -0400
+++ b/src/master/login-process.c	Wed Apr 15 20:24:53 2009 -0400
@@ -50,7 +50,7 @@ struct login_auth_request {
 	unsigned int login_tag;
 
 	struct mail_login_request mail_request;
-	unsigned char data[];
+	unsigned char data[FLEXIBLE_ARRAY_MEMBER];
 };
 
 static unsigned int auth_id_counter, login_pid_counter;


More information about the dovecot-cvs mailing list