From c584cd900ce0346738dad9fc80698f3e53968f46 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 21 Sep 2010 15:22:16 +0100 Subject: [PATCH] dsync: Don't set POP3 UIDLs to empty values. --- src/dsync/dsync-worker-local.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dsync/dsync-worker-local.c b/src/dsync/dsync-worker-local.c index 4a5c245ff6..3a39d4fe05 100644 --- a/src/dsync/dsync-worker-local.c +++ b/src/dsync/dsync-worker-local.c @@ -1690,7 +1690,8 @@ local_worker_msg_save(struct dsync_worker *_worker, mailbox_save_set_guid(save_ctx, msg->guid); local_worker_msg_save_set_metadata(worker, worker->mail->box, save_ctx, msg); - mailbox_save_set_pop3_uidl(save_ctx, data->pop3_uidl); + if (*data->pop3_uidl != '\0') + mailbox_save_set_pop3_uidl(save_ctx, data->pop3_uidl); mailbox_save_set_received_date(save_ctx, data->received_date, 0); -- 2.47.3