dovecot-2.0-sslstream: array.h: Compile fix for non-C99 compilers.

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:55:45 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/1e0c572f1937
changeset: 10204:1e0c572f1937
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Oct 27 12:10:15 2009 -0400
description:
array.h: Compile fix for non-C99 compilers.

diffstat:

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

diffs (12 lines):

diff -r e9c8a21e95e4 -r 1e0c572f1937 src/lib/array.h
--- a/src/lib/array.h	Tue Oct 27 00:22:25 2009 -0400
+++ b/src/lib/array.h	Tue Oct 27 12:10:15 2009 -0400
@@ -72,7 +72,7 @@
 	     (elem)++)
 #  define array_foreach_modifiable(array, elem) \
 	for (elem = ARRAY_TYPE_CAST_MODIFIABLE(array) \
-			buffer_get_modifiable_data((array)->arr.buffer, NULL)) + \
+			buffer_get_modifiable_data((array)->arr.buffer, NULL) + \
 			(array)->arr.buffer->used; \
 	     elem != CONST_PTR_OFFSET(*(array)->v, (array)->arr.buffer->used); \
 	     (elem)++)


More information about the dovecot-cvs mailing list