[Dovecot] another sizeof tweak

Timo Sirainen tss at iki.fi
Tue Nov 8 18:46:07 EET 2011


On 8.11.2011, at 18.43, Mike Abbott wrote:

> Line 776 of dovecot-2.0.15/src/lib-storage/index/maildir/maildir-sync-index.c reads:
> 	    memcmp(old_rec, &new_rec, sizeof(old_rec)) != 0) {
> Should that be sizeof(*old_rec)?

Yep, looks like was fixed in v2.1 already. I'll fix it for v2.0 too.




More information about the dovecot mailing list