commit 61f0810bb17ba185aa12fd2197f92deaee249dbd
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Tue Jan 28 10:30:47 2025 +0100

    fix -ls hanging after synchronous error
    
    we need to make a note that we're already done with the Store, as
    otherwise we'll wait for a callback that never comes.

 src/main_list.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main_list.c b/src/main_list.c
index c4aa63e..ff3d193 100644
--- a/src/main_list.c
+++ b/src/main_list.c
@@ -78,6 +78,7 @@ list_store_bad( void *aux )
 {
        list_vars_t *lvars = (list_vars_t *)aux;
 
+       lvars->done = 1;
        lvars->drv->cancel_store( lvars->ctx );
        lvars->cvars->ret = 1;
        list_next_store( lvars );


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to