Provide an upstream patch that fixes an issue with duplication loops when using

davmail and moving mails around in folders.

PR:		236635
Submitted by:	sascha@root-login.org
This commit is contained in:
Emanuel Haupt
2019-03-19 19:03:03 +00:00
parent c54e9cf6f6
commit c424ef8a01
2 changed files with 21 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
PORTNAME= isync
PORTVERSION= 1.3.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= SF

View File

@@ -0,0 +1,20 @@
--- src/drv_imap.c.orig 2019-03-19 09:37:32 UTC
+++ src/drv_imap.c
@@ -2388,7 +2388,7 @@ imap_open_box_p2( imap_store_t *ctx, imap_cmd_t *gcmd,
INIT_IMAP_CMD(imap_cmd_open_box_t, cmd, cmdp->callback, cmdp->callback_aux)
cmd->gen.param.lastuid = 1;
imap_exec( ctx, &cmd->gen, imap_open_box_p3,
- "UID FETCH *:* (UID)" );
+ "UID FETCH * (UID)" );
}
static void
@@ -2922,7 +2922,7 @@ imap_find_new_msgs_p2( imap_store_t *ctx, imap_cmd_t *
cmd->uid = cmdp->uid;
cmd->gen.param.lastuid = 1;
imap_exec( ctx, &cmd->gen, imap_find_new_msgs_p3,
- "UID FETCH *:* (UID)" );
+ "UID FETCH * (UID)" );
}
static void