dovecot: Fixed using uninitialized variable in error handling.
dovecot at dovecot.org
dovecot at dovecot.org
Sun Oct 28 21:26:30 EET 2007
details: http://hg.dovecot.org/dovecot/rev/c62f30cc1153
changeset: 6652:c62f30cc1153
user: Timo Sirainen <tss at iki.fi>
date: Sun Oct 28 21:26:26 2007 +0200
description:
Fixed using uninitialized variable in error handling.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/pop3/client.c | 2 +-
diffs (19 lines):
diff -r 3acd85fbd55b -r c62f30cc1153 src/pop3/client.c
--- a/src/pop3/client.c Sun Oct 28 21:24:32 2007 +0200
+++ b/src/pop3/client.c Sun Oct 28 21:26:26 2007 +0200
@@ -57,6 +57,7 @@ static bool init_mailbox(struct client *
search_arg.type = SEARCH_ALL;
for (i = 0; i < 2; i++) {
+ expunged = FALSE;
if (mailbox_sync(client->mailbox, MAILBOX_SYNC_FLAG_FULL_READ,
STATUS_UIDVALIDITY, &status) < 0) {
client_send_storage_error(client);
@@ -71,7 +72,6 @@ static bool init_mailbox(struct client *
client->total_size = 0;
buffer_set_used_size(message_sizes_buf, 0);
- expunged = FALSE;
failed = FALSE;
mail = mail_alloc(t, MAIL_FETCH_VIRTUAL_SIZE, NULL);
while (mailbox_search_next(ctx, mail) > 0) {
More information about the dovecot-cvs
mailing list