[dovecot-cvs] dovecot/src/auth userinfo-passwd-file.c,1.20,1.21

cras at procontrol.fi cras at procontrol.fi
Sun Jan 5 11:23:15 EET 2003


Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv32580

Modified Files:
	userinfo-passwd-file.c 
Log Message:
':' -> '@' change was buggy



Index: userinfo-passwd-file.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/userinfo-passwd-file.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- userinfo-passwd-file.c	22 Dec 2002 08:18:29 -0000	1.20
+++ userinfo-passwd-file.c	5 Jan 2003 09:23:13 -0000	1.21
@@ -96,7 +96,7 @@
 		size_t pos;
 
 		pos = (size_t) (pu->realm - (const char *) pu->user_realm);
-		reply->virtual_user[pos] = '@';
+		reply->virtual_user[pos-1] = '@';
 	}
 
 	reply->chroot = pu->chroot;




More information about the dovecot-cvs mailing list