We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9541466 commit c5d93f3Copy full SHA for c5d93f3
plocalscan.c
@@ -638,15 +638,16 @@ static void scan_delete_folder(sync_folderlist *fl){
638
psync_sql_bind_uint(res, 1, fl->syncid);
639
psync_sql_bind_uint(res, 2, fl->localid);
640
psync_sql_run_free(res);
641
- return;
642
}
643
- psync_sql_commit_transaction();
644
- if (tries==10)
645
- psync_timer_notify_exception();
646
- tries++;
647
- psync_milisleep(20+tries*20);
648
- psync_sql_start_transaction();
649
- goto retry;
+ else{
+ psync_sql_commit_transaction();
+ if (tries==10)
+ psync_timer_notify_exception();
+ tries++;
+ psync_milisleep(20+tries*20);
+ psync_sql_start_transaction();
+ goto retry;
650
+ }
651
652
delete_local_folder_rec(fl->localid);
653
if (folderid)
0 commit comments