mirror of
https://github.com/urbit/ares.git
synced 2024-11-26 09:57:56 +03:00
pma: depth passed to _flist_read2 should be 1 not 0
This commit is contained in:
parent
2c016500ac
commit
3a6ed42054
@ -1982,7 +1982,7 @@ _flist_read(BT_state *state)
|
||||
BT_meta *meta = state->meta_pages[state->which];
|
||||
BT_page *root = _node_get(state, meta->root);
|
||||
uint8_t maxdepth = meta->depth;
|
||||
BT_flistnode *head = _flist_read2(state, root, maxdepth, 0);
|
||||
BT_flistnode *head = _flist_read2(state, root, maxdepth, 1);
|
||||
/* ;;: infinite loop with proper starting depth of 1. -- fix that! */
|
||||
/* BT_flistnode *head = _flist_read2(state, root, maxdepth, 1); */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user