diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-11-23 13:35:57 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-11-23 13:56:03 -0500 |
commit | cdbd5e6fcf1f447b515e717f7d7194471ef714a7 (patch) | |
tree | 80e35850febdda9416a1306c8805f2a1da3dabc8 /src/eval.c | |
parent | 9032d107ab759450c21fea8f82865ff48c743132 (diff) | |
download | bfs-cdbd5e6fcf1f447b515e717f7d7194471ef714a7.tar.xz |
ctx: Switch paths from darray to RESERVE()
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -12,7 +12,6 @@ #include "color.h" #include "config.h" #include "ctx.h" -#include "darray.h" #include "diag.h" #include "dir.h" #include "dstring.h" @@ -1622,7 +1621,7 @@ int bfs_eval(struct bfs_ctx *ctx) { struct bftw_args bftw_args = { .paths = ctx->paths, - .npaths = darray_length(ctx->paths), + .npaths = ctx->npaths, .callback = eval_callback, .ptr = &args, .nopenfd = fdlimit, |