[dovecot-cvs] dovecot/src/plugins/zlib zlib-plugin.c,1.4,1.5
cras at dovecot.org
cras at dovecot.org
Wed Jun 28 16:11:13 EEST 2006
Update of /var/lib/cvs/dovecot/src/plugins/zlib
In directory talvi:/tmp/cvs-serv11200/src/plugins/zlib
Modified Files:
zlib-plugin.c
Log Message:
Array API redesigned to work using unions. It now provides type safety
without having to enable DEBUG, as long as the compiler supports typeof().
Its API changed a bit. It now allows directly accessing the array contents,
although that's not necessarily recommended. Changed existing array usage to
be type safe in a bit more places. Removed array_t completely. Also did
s/modifyable/modifiable/.
Index: zlib-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/zlib/zlib-plugin.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- zlib-plugin.c 22 Feb 2006 14:52:20 -0000 1.4
+++ zlib-plugin.c 28 Jun 2006 13:11:11 -0000 1.5
@@ -15,7 +15,7 @@
};
#define ZLIB_CONTEXT(obj) \
- *((void **)array_idx_modifyable(&(obj)->module_contexts, \
+ *((void **)array_idx_modifiable(&(obj)->module_contexts, \
zlib_storage_module_id))
/* defined by imap, pop3, lda */
More information about the dovecot-cvs
mailing list