[dovecot-cvs] dovecot/src/auth userdb-vpopmail.c,1.12,1.13

cras at dovecot.org cras at dovecot.org
Wed Feb 9 22:13:38 EET 2005


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

Modified Files:
	userdb-vpopmail.c 
Log Message:
compile fixes



Index: userdb-vpopmail.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/userdb-vpopmail.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- userdb-vpopmail.c	8 Jan 2005 16:56:04 -0000	1.12
+++ userdb-vpopmail.c	9 Feb 2005 20:13:36 -0000	1.13
@@ -23,7 +23,7 @@
 	memset(vpop_user, '\0', VPOPMAIL_LIMIT);
 	memset(vpop_domain, '\0', VPOPMAIL_LIMIT);
 
-	if (parse_email(auth_request->user, vpop_user, vpop_domain,
+	if (parse_email(request->user, vpop_user, vpop_domain,
 			VPOPMAIL_LIMIT-1) < 0) {
 		auth_request_log_info(request, "vpopmail",
 				      "parse_email() failed");
@@ -60,7 +60,7 @@
 	/* we have to get uid/gid separately, because the gid field in
 	   struct vqpasswd isn't really gid at all but just some flags... */
 	if (vget_assign(vpop_domain, NULL, 0, &uid, &gid) == NULL) {
-		auth_request_log_info(request, "vpopmail",
+		auth_request_log_info(auth_request, "vpopmail",
 				      "vget_assign(%s) failed", vpop_domain);
 		callback(NULL, context);
 		return;
@@ -68,11 +68,11 @@
 
 	if (vpw->pw_dir == NULL || vpw->pw_dir[0] == '\0') {
 		/* user's homedir doesn't exist yet, create it */
-		auth_request_log_info(request, "vpopmail",
+		auth_request_log_info(auth_request, "vpopmail",
 				      "pw_dir isn't set, creating");
 
 		if (make_user_dir(vpop_user, vpop_domain, uid, gid) == NULL) {
-			auth_request_log_error(request, "vpopmail",
+			auth_request_log_error(auth_request, "vpopmail",
 					       "make_user_dir(%s, %s) failed",
 					       vpop_user, vpop_domain);
 			callback(NULL, context);



More information about the dovecot-cvs mailing list