]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
index wasn't unlocked initially
authorTimo Sirainen <tss@iki.fi>
Mon, 10 May 2004 21:25:42 +0000 (00:25 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 10 May 2004 21:25:42 +0000 (00:25 +0300)
--HG--
branch : HEAD

src/pop3/client.c

index 3ac77d4cbaefff51cf5f027c0454bc88b9dcc28f..2a0fc1cec3645906bc203b578dfc3c19feaf1984 100644 (file)
@@ -98,8 +98,10 @@ static int init_mailbox(struct client *client)
                        return FALSE;
                }
 
-               if (!failed)
+               if (!failed) {
+                       mailbox_transaction_commit(t);
                        return TRUE;
+               }
 
                /* well, sync and try again */
                if (mailbox_sync(client->mailbox, 0) < 0) {