[dovecot-cvs] dovecot/src/auth mech.c,1.34,1.35

cras at dovecot.org cras at dovecot.org
Mon Sep 20 23:48:34 EEST 2004


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

Modified Files:
	mech.c 
Log Message:
type fixes



Index: mech.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/mech.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- mech.c	15 Sep 2004 13:20:16 -0000	1.34
+++ mech.c	20 Sep 2004 20:48:31 -0000	1.35
@@ -194,8 +194,8 @@
 {
 	memset(reply, 0, sizeof(*reply));
 
-	reply->username_idx = (size_t)-1;
-	reply->reply_idx = (size_t)-1;
+	reply->username_idx = (uint32_t)-1;
+	reply->reply_idx = (uint32_t)-1;
 }
 
 void *mech_auth_success(struct auth_client_request_reply *reply,
@@ -210,7 +210,7 @@
 	buffer_append(buf, auth_request->user, strlen(auth_request->user)+1);
 
 	if (data_size == 0)
-		reply->reply_idx = (size_t)-1;
+		reply->reply_idx = (uint32_t)-1;
 	else {
 		reply->reply_idx = buffer_get_used_size(buf);
 		buffer_append(buf, data, data_size);



More information about the dovecot-cvs mailing list