[dovecot-cvs] dovecot/src/plugins/expire auth-client.c,1.1,1.2

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


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

Modified Files:
	auth-client.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/plugins/expire/auth-client.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- auth-client.c	30 Jul 2006 23:12:54 -0000	1.1
+++ auth-client.c	15 Dec 2006 18:38:25 -0000	1.2
@@ -30,7 +30,7 @@
 	unsigned int handshaked:1;
 };
 
-static void auth_input(void *context);
+static void auth_input(struct auth_connection *conn);
 
 static int auth_connection_connect(struct auth_connection *conn)
 {
@@ -149,9 +149,8 @@
 	conn->return_value = 1;
 }
 
-static void auth_input(void *context)
+static void auth_input(struct auth_connection *conn)
 {
-	struct auth_connection *conn = context;
 	const char *line;
 
 	switch (i_stream_read(conn->input)) {



More information about the dovecot-cvs mailing list