[dovecot-cvs] dovecot/src/lib-auth auth-client.h, 1.8, 1.9 auth-server-request.c, 1.17, 1.18

cras at dovecot.org cras at dovecot.org
Tue Oct 19 05:51:39 EEST 2004


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

Modified Files:
	auth-client.h auth-server-request.c 
Log Message:
s/protocol/service/ in authentication



Index: auth-client.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-auth/auth-client.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- auth-client.h	13 Oct 2004 16:38:34 -0000	1.8
+++ auth-client.h	19 Oct 2004 02:51:37 -0000	1.9
@@ -24,7 +24,7 @@
 
 struct auth_request_info {
 	const char *mech;
-	const char *protocol;
+	const char *service;
 	enum auth_request_flags flags;
 
 	struct ip_addr local_ip, remote_ip;

Index: auth-server-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-auth/auth-server-request.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- auth-server-request.c	18 Oct 2004 23:03:54 -0000	1.17
+++ auth-server-request.c	19 Oct 2004 02:51:37 -0000	1.18
@@ -15,7 +15,7 @@
 
 	unsigned int id;
 
-	char *mech, *protocol;
+	char *mech, *service;
         enum auth_request_flags flags;
 	struct ip_addr local_ip, remote_ip;
 
@@ -76,8 +76,8 @@
 	t_push();
 	str = t_str_new(512);
 
-	str_printfa(str, "AUTH\t%u\t%s\tproto=%s",
-		    request->id, request->mech, request->protocol);
+	str_printfa(str, "AUTH\t%u\t%s\tservice=%s",
+		    request->id, request->mech, request->service);
 	if ((request->flags & AUTH_REQUEST_FLAG_SECURED) != 0)
 		str_append(str, "\tsecured");
 	if ((request->flags & AUTH_REQUEST_FLAG_VALID_CLIENT_CERT) != 0)
@@ -305,7 +305,7 @@
 	request = i_new(struct auth_request, 1);
 	request->conn = conn;
 	request->mech = i_strdup(request_info->mech);
-	request->protocol = i_strdup(request_info->protocol);
+	request->service = i_strdup(request_info->service);
 	request->flags = request_info->flags;
 	request->local_ip = request_info->local_ip;
 	request->remote_ip = request_info->remote_ip;
@@ -342,7 +342,7 @@
 	i_free(request->initial_resp_base64);
 	i_free(request->plaintext_data);
 	i_free(request->mech);
-	i_free(request->protocol);
+	i_free(request->service);
 	i_free(request);
 }
 



More information about the dovecot-cvs mailing list