[dovecot-cvs] dovecot/src/lib-auth auth-client.c,1.10,1.11

cras at dovecot.org cras at dovecot.org
Wed Jun 28 16:10:36 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib-auth
In directory talvi:/tmp/cvs-serv11200/src/lib-auth

Modified Files:
	auth-client.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: auth-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-auth/auth-client.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- auth-client.c	22 Jan 2006 15:50:07 -0000	1.10
+++ auth-client.c	28 Jun 2006 13:10:34 -0000	1.11
@@ -43,7 +43,7 @@
 
 	*_client = NULL;
 
-	mech = buffer_get_modifyable_data(client->available_auth_mechs, &size);
+	mech = buffer_get_modifiable_data(client->available_auth_mechs, &size);
 	size /= sizeof(*mech);
 	for (i = 0; i < size; i++)
 		i_free(mech[i].name);



More information about the dovecot-cvs mailing list