[dovecot-cvs] dovecot/src/pop3 commands.c,1.46,1.47

cras at dovecot.org cras at dovecot.org
Sat Aug 27 17:42:40 EEST 2005


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv12298

Modified Files:
	commands.c 
Log Message:
Fix



Index: commands.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/commands.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- commands.c	27 Aug 2005 14:35:06 -0000	1.46
+++ commands.c	27 Aug 2005 14:42:38 -0000	1.47
@@ -191,6 +191,7 @@
 	if (client->deleted_bitmask == NULL)
 		return TRUE;
 
+	memset(&seqset, 0, sizeof(seqset));
 	memset(&search_arg, 0, sizeof(search_arg));
 	seqset.seq1 = 1;
 	seqset.seq2 = client->messages_count;
@@ -443,6 +444,7 @@
 
 	if (enable_last_command) {
 		/* remove all \Seen flags */
+		memset(&seqset, 0, sizeof(seqset));
 		memset(&search_arg, 0, sizeof(search_arg));
 		seqset.seq1 = 1;
 		seqset.seq2 = client->messages_count;



More information about the dovecot-cvs mailing list