[dovecot-cvs] dovecot/src/lib-auth auth-client.c, 1.15, 1.16 auth-server-connection.c, 1.18, 1.19

tss at dovecot.org tss at dovecot.org
Fri Dec 15 18:38:15 UTC 2006


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

Modified Files:
	auth-client.c auth-server-connection.c 
Log Message:
Replaced void *context from a lot of callbacks with the actual context
type. Also added/fixed some context type checks.



Index: auth-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-auth/auth-client.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- auth-client.c	15 Dec 2006 18:10:54 -0000	1.15
+++ auth-client.c	15 Dec 2006 18:38:11 -0000	1.16
@@ -108,10 +108,8 @@
 	client->connect_notify_context = context;
 }
 
-static void reconnect_timeout(void *context)
+static void reconnect_timeout(struct auth_client *client)
 {
-	struct auth_client *client = context;
-
 	auth_client_connect_missing_servers(client);
 }
 

Index: auth-server-connection.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-auth/auth-server-connection.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- auth-server-connection.c	15 Dec 2006 17:16:26 -0000	1.18
+++ auth-server-connection.c	15 Dec 2006 18:38:11 -0000	1.19
@@ -124,9 +124,8 @@
 	return TRUE;
 }
 
-static void auth_client_input(void *context)
+static void auth_client_input(struct auth_server_connection *conn)
 {
-	struct auth_server_connection *conn = context;
 	const char *line;
 	int ret;
 



More information about the dovecot-cvs mailing list