AmendHub

Download:

jcs

/

subtext

/

amendments

/

428

board: Enable deleting in board_prune_old_posts


jcs made amendment 428 about 1 year ago
--- board.c Wed Mar 15 14:02:33 2023 +++ board.c Wed Mar 15 14:41:08 2023 @@ -1675,7 +1675,7 @@ board_prune_old_posts(struct board *board) if (ret == BILE_ERR_NO_MEMORY) goto done; - //board_delete_ftn_post(board, &fpost); + board_delete_ftn_post(board, &fpost); } else { size = bile_read_alloc(board->bile, BOARD_POST_RTYPE, sorted_id_map[n].id, &data); @@ -1699,7 +1699,7 @@ board_prune_old_posts(struct board *board) if (ret == BILE_ERR_NO_MEMORY) goto done; - //board_delete_post(board, &post, &thread); + board_delete_post(board, &post, &thread); } deleted++;