commit c84235b068220a02800aad01ad244fe215f05734
Author: Oswald Buddenhagen <[email protected]>
Date: Tue Jul 21 17:16:24 2020 +0200
get rid of maildir_find_new_msgs() stub
a failed assertion isn't any better than a clean segfault with an
obvious backtrace.
src/drv_maildir.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/drv_maildir.c b/src/drv_maildir.c
index c5c723c..8d2d2a9 100644
--- a/src/drv_maildir.c
+++ b/src/drv_maildir.c
@@ -1669,13 +1669,6 @@ maildir_store_msg( store_t *gctx, msg_data_t *data, int
to_trash,
cb( DRV_OK, uid, aux );
}
-static void
-maildir_find_new_msgs( store_t *gctx ATTR_UNUSED, uint newuid ATTR_UNUSED,
- void (*cb)( int sts, message_t *msgs, void *aux )
ATTR_UNUSED, void *aux ATTR_UNUSED )
-{
- assert( !"maildir_find_new_msgs is not supposed to be called" );
-}
-
static void
maildir_set_msg_flags( store_t *gctx, message_t *gmsg, uint uid ATTR_UNUSED,
int add, int del,
void (*cb)( int sts, void *aux ), void *aux )
@@ -1953,7 +1946,7 @@ struct driver maildir_driver = {
maildir_load_box,
maildir_fetch_msg,
maildir_store_msg,
- maildir_find_new_msgs,
+ NULL, // find_new_msgs
maildir_set_msg_flags,
maildir_trash_msg,
maildir_close_box,
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel