[dovecot-cvs] dovecot/src/lib-ntlm ntlm-message.c,1.2,1.3

cras at dovecot.org cras at dovecot.org
Fri Jul 30 10:52:16 EEST 2004


Update of /home/cvs/dovecot/src/lib-ntlm
In directory talvi:/tmp/cvs-serv31525

Modified Files:
	ntlm-message.c 
Log Message:
compile fix



Index: ntlm-message.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-ntlm/ntlm-message.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ntlm-message.c	30 Jul 2004 03:01:24 -0000	1.2
+++ ntlm-message.c	30 Jul 2004 07:52:14 -0000	1.3
@@ -76,8 +76,8 @@
 	va_start(args, buffer_offset);
 
 	do {
-		type = va_arg(args, int);
 		const char *data;
+		type = va_arg(args, int);
 
 		memset(&info, 0, sizeof(info));
 		write_le16(&info.type, type);
@@ -91,7 +91,7 @@
 			case NTPLMSSP_V2_TARGET_DOMAIN:
 			case NTPLMSSP_V2_TARGET_FQDN:
 			case NTPLMSSP_V2_TARGET_DNS:
-				data = va_arg(args, char *);
+				data = va_arg(args, const char *);
 				write_le16(&info.length,
 					   strlen(data) * sizeof(ucs2le_t));
 				buffer_append(buf, &info, sizeof(info));



More information about the dovecot-cvs mailing list