[Dovecot] Wrong UIDs returned from mailbox_transaction_commit_get_uids()

Ron Avriel ravriel_1 at yahoo.com
Tue Apr 1 09:46:40 EEST 2008


Hi,

Wrong UIDs are returned from mailbox_transaction_commit_get_uids() in dovecot-1.1.rc3.

The problem is in:

int mailbox_transaction_commit(struct mailbox_transaction_context **t)
{
    uint32_t tmp;

    return mailbox_transaction_commit_get_uids(t, &tmp, &tmp, &tmp);
}


It should be:

int mailbox_transaction_commit(struct mailbox_transaction_context **t)
{
    uint32_t tmp1, tmp2, tmp3;

    return mailbox_transaction_commit_get_uids(t, &tmp1, &tmp2, &tmp3);
}

After this fix it works OK.

Thanks,
Ron






      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com



More information about the dovecot mailing list