[dovecot-cvs] dovecot/src/plugins/acl acl-backend-vfile.c, 1.8, 1.9 acl-cache.c, 1.5, 1.6
cras at dovecot.org
cras at dovecot.org
Sun Sep 10 15:33:29 EEST 2006
Update of /var/lib/cvs/dovecot/src/plugins/acl
In directory talvi:/tmp/cvs-serv1034/plugins/acl
Modified Files:
acl-backend-vfile.c acl-cache.c
Log Message:
Removed type parameter from ARRAY_CREATE since it's not needed anymore.
Index: acl-backend-vfile.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/acl/acl-backend-vfile.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- acl-backend-vfile.c 28 Jun 2006 13:10:55 -0000 1.8
+++ acl-backend-vfile.c 10 Sep 2006 12:33:25 -0000 1.9
@@ -124,7 +124,7 @@
while (*acl == ' ' || *acl == '\t')
acl++;
- ARRAY_CREATE(&rights, pool_datastack_create(), const char *, 64);
+ ARRAY_CREATE(&rights, pool_datastack_create(), 64);
for (; *acl != '\0' && *acl != ':'; acl++) {
for (i = 0; acl_letter_map[i].letter != '\0'; i++) {
if (acl_letter_map[i].letter == *acl)
Index: acl-cache.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/acl/acl-cache.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- acl-cache.c 4 Aug 2006 16:33:02 -0000 1.5
+++ acl-cache.c 10 Sep 2006 12:33:25 -0000 1.6
@@ -54,7 +54,7 @@
hash_create(default_pool, cache->right_names_pool, 0,
str_hash, (hash_cmp_callback_t *)strcmp);
ARRAY_CREATE(&cache->right_idx_name_map, default_pool,
- const char *, DEFAULT_ACL_RIGHTS_COUNT);
+ DEFAULT_ACL_RIGHTS_COUNT);
return cache;
}
More information about the dovecot-cvs
mailing list