[dovecot-cvs] dovecot/src/pop3 commands.c,1.14,1.15
cras at procontrol.fi
cras at procontrol.fi
Mon May 10 22:00:38 EEST 2004
Update of /home/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv12981
Modified Files:
commands.c
Log Message:
Message deletion deleted wrong messages
Index: commands.c
===================================================================
RCS file: /home/cvs/dovecot/src/pop3/commands.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- commands.c 10 May 2004 01:28:19 -0000 1.14
+++ commands.c 10 May 2004 19:00:36 -0000 1.15
@@ -169,7 +169,7 @@
while ((mail = mailbox_search_next(ctx)) != NULL) {
i = mail->seq-1;
- if ((client->deleted_bitmask[i >> CHAR_BIT] &
+ if ((client->deleted_bitmask[i / CHAR_BIT] &
(1 << (i % CHAR_BIT))) != 0) {
if (mail->expunge(mail) < 0) {
failed = TRUE;
More information about the dovecot-cvs
mailing list