1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/mail/popd/files/patch-lib::mbox_maildir.c
Sheldon Hearn d24202a838 Fix a bug in UIDL handling for maildir boxes, which could lead to clients
receiving duplicated messages.

Submitted by:	author
2003-06-24 12:56:12 +00:00

12 lines
436 B
C

--- lib/mbox_maildir.c.orig Tue Jun 24 14:37:19 2003
+++ lib/mbox_maildir.c Tue Jun 24 14:38:18 2003
@@ -190,7 +190,7 @@
(MDIR_F_EXPIRE | MDIR_F_REMOVE) &&
cxn->flags & MAILBOX_F_FALSEUIDL ?
time(NULL) : mbox->msg[mbox->count].d_time,
- mbox->msg[mbox->count].path,
+ dp->d_name,
mbox->msg[mbox->count].bytes);
MD5Init(&context);
MD5Update(&context, (unsigned char *)uidldat,