[dovecot-cvs] dovecot/src/auth auth-client-connection.c, 1.29,
1.30 auth-client-connection.h, 1.7, 1.8
cras at dovecot.org
cras at dovecot.org
Sat Jan 8 21:01:36 EET 2005
- Previous message: [dovecot-cvs] dovecot/doc auth-protocol.txt,1.2,1.3
- Next message: [dovecot-cvs] dovecot/src/auth auth-client-connection.c, 1.30,
1.31 auth-request.c, 1.4, 1.5 auth-request.h, 1.4,
1.5 mech-anonymous.c, 1.10, 1.11 mech-apop.c, 1.11,
1.12 mech-cram-md5.c, 1.18, 1.19 mech-digest-md5.c, 1.32,
1.33 mech-login.c, 1.9, 1.10 mech-ntlm.c, 1.15,
1.16 mech-plain.c, 1.27, 1.28 mech-rpa.c, 1.14, 1.15 mech.h,
1.32, 1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv21887/src/auth
Modified Files:
auth-client-connection.c auth-client-connection.h
Log Message:
Removed SERVICE command. It's quite useless extra state to keep around.
Index: auth-client-connection.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-client-connection.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- auth-client-connection.c 8 Jan 2005 16:56:04 -0000 1.29
+++ auth-client-connection.c 8 Jan 2005 19:01:34 -0000 1.30
@@ -153,14 +153,6 @@
}
static int
-auth_client_input_service(struct auth_client_connection *conn, const char *args)
-{
- if (conn->default_service == NULL)
- conn->default_service = p_strdup(conn->pool, args);
- return TRUE;
-}
-
-static int
auth_client_input_cpid(struct auth_client_connection *conn, const char *args)
{
struct auth_client_connection *old;
@@ -267,8 +259,6 @@
valid_client_cert = TRUE;
}
- if (request->service == NULL)
- request->service = conn->default_service;
if (request->service == NULL) {
i_error("BUG: Authentication client %u "
"didn't specify service in request", conn->pid);
@@ -410,8 +400,6 @@
ret = auth_client_input_cont(conn, line + 5);
else if (strncmp(line, "CPID\t", 5) == 0)
ret = auth_client_input_cpid(conn, line + 5);
- else if (strncmp(line, "SERVICE\t", 6) == 0)
- ret = auth_client_input_service(conn, line + 6);
else {
/* ignore unknown command */
ret = TRUE;
Index: auth-client-connection.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-client-connection.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- auth-client-connection.h 7 Jan 2005 19:55:49 -0000 1.7
+++ auth-client-connection.h 8 Jan 2005 19:01:34 -0000 1.8
@@ -15,7 +15,6 @@
pool_t pool;
struct hash_table *auth_requests;
- char *default_service;
unsigned int pid;
unsigned int connect_uid;
- Previous message: [dovecot-cvs] dovecot/doc auth-protocol.txt,1.2,1.3
- Next message: [dovecot-cvs] dovecot/src/auth auth-client-connection.c, 1.30,
1.31 auth-request.c, 1.4, 1.5 auth-request.h, 1.4,
1.5 mech-anonymous.c, 1.10, 1.11 mech-apop.c, 1.11,
1.12 mech-cram-md5.c, 1.18, 1.19 mech-digest-md5.c, 1.32,
1.33 mech-login.c, 1.9, 1.10 mech-ntlm.c, 1.15,
1.16 mech-plain.c, 1.27, 1.28 mech-rpa.c, 1.14, 1.15 mech.h,
1.32, 1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list