[dovecot-cvs] dovecot/src/login-common auth-common.c,1.2,1.3

cras at procontrol.fi cras at procontrol.fi
Sun Feb 9 19:23:22 EET 2003


Update of /home/cvs/dovecot/src/login-common
In directory danu:/tmp/cvs-serv5489/login-common

Modified Files:
	auth-common.c 
Log Message:
More realm fixes



Index: auth-common.c
===================================================================
RCS file: /home/cvs/dovecot/src/login-common/auth-common.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- auth-common.c	8 Feb 2003 12:15:12 -0000	1.2
+++ auth-common.c	9 Feb 2003 17:23:20 -0000	1.3
@@ -17,7 +17,7 @@
 	stop = reply->reply_idx < reply->data_size ?
 		reply->reply_idx-1 : reply->data_size;
 
-	return t_strndup(data, stop);
+	return t_strndup(data + idx, stop);
 }
 
 int auth_callback(struct auth_request *request, struct auth_login_reply *reply,




More information about the dovecot-cvs mailing list