[dovecot-cvs] dovecot/src/deliver auth-client.c,1.6,1.7
tss at dovecot.org
tss at dovecot.org
Fri Dec 15 18:38:11 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/auth auth-client-connection.c, 1.44, 1.45 auth-master-connection.c, 1.45, 1.46 auth-master-listener.c, 1.10, 1.11 auth-worker-client.c, 1.28, 1.29 auth-worker-server.c, 1.10, 1.11 db-ldap.c, 1.57, 1.58 db-sql.c, 1.10, 1.11 passdb-checkpassword.c, 1.29, 1.30 passdb-pam.c, 1.44, 1.45 passdb-sql.c, 1.30, 1.31 userdb-sql.c, 1.16, 1.17
- Next message: [dovecot-cvs] dovecot/src/dict dict-server.c,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv3614/deliver
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/deliver/auth-client.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- auth-client.c 2 Nov 2006 18:11:05 -0000 1.6
+++ auth-client.c 15 Dec 2006 18:38:09 -0000 1.7
@@ -116,9 +116,8 @@
return_value = EX_OK;
}
-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)) {
@@ -188,10 +187,8 @@
return conn;
}
-static void auth_client_timeout(void *context)
+static void auth_client_timeout(struct auth_connection *conn)
{
- struct auth_connection *conn = context;
-
if (!conn->handshaked)
i_error("Connecting to dovecot-auth timed out");
else
- Previous message: [dovecot-cvs] dovecot/src/auth auth-client-connection.c, 1.44, 1.45 auth-master-connection.c, 1.45, 1.46 auth-master-listener.c, 1.10, 1.11 auth-worker-client.c, 1.28, 1.29 auth-worker-server.c, 1.10, 1.11 db-ldap.c, 1.57, 1.58 db-sql.c, 1.10, 1.11 passdb-checkpassword.c, 1.29, 1.30 passdb-pam.c, 1.44, 1.45 passdb-sql.c, 1.30, 1.31 userdb-sql.c, 1.16, 1.17
- Next message: [dovecot-cvs] dovecot/src/dict dict-server.c,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list