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

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


details:   http://hg.dovecot.org/dovecot-1.2/rev/933d95978040
changeset: 8953:933d95978040
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 d1c0ff11981d -r 933d95978040 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
@@ -49,7 +49,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