]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Fixed compiling with old gcc.
authorTimo Sirainen <tss@iki.fi>
Wed, 28 Aug 2013 21:53:30 +0000 (00:53 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 28 Aug 2013 21:53:30 +0000 (00:53 +0300)
src/log/log-error-buffer.c

index 05b35dd1a64b227826aa1ad462729bb3ad53529d..7fb13d85212c5ec7c40bb573d2a996084b082015 100644 (file)
@@ -10,7 +10,7 @@ struct log_error_data {
 
        enum log_type type;
        time_t timestamp;
-       unsigned char prefix_text[];
+       unsigned char prefix_text[FLEXIBLE_ARRAY_MEMBER];
 };
 
 struct log_error_buffer {