diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-08-27 16:19:23 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-08-27 16:19:23 -0800 |
| commit | 0325ece8a36214616236753fc9258ba7a04ba7c0 (patch) | |
| tree | fe7a259e446e7bca9ce637a5478040c21ad0f88b /lib | |
| parent | c5a7461a0635e8805f239b0c4228b409442f29c2 (diff) | |
| download | bindletools-0325ece8a36214616236753fc9258ba7a04ba7c0.tar.gz bindletools-0325ece8a36214616236753fc9258ba7a04ba7c0.tar.bz2 bindletools-0325ece8a36214616236753fc9258ba7a04ba7c0.tar.xz bindletools-0325ece8a36214616236753fc9258ba7a04ba7c0.zip | |
libbindle: replacing BNDL_ARRAY_INSERT with BNDL_BINSERT
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libbindle/larray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libbindle/larray.c b/lib/libbindle/larray.c index dcc4112..042b1cc 100644 --- a/lib/libbindle/larray.c +++ b/lib/libbindle/larray.c | |||
| @@ -106,7 +106,7 @@ bindle_badd( | |||
| 106 | // search for existing object which matches | 106 | // search for existing object which matches |
| 107 | if ((idx = bindle_bindex(obj, *basep, *nelp, width, opts, &wouldbe, compar)) != -1) | 107 | if ((idx = bindle_bindex(obj, *basep, *nelp, width, opts, &wouldbe, compar)) != -1) |
| 108 | { | 108 | { |
| 109 | if ((opts & BNDL_ARRAY_MASK_ADD) == BNDL_ARRAY_INSERT) | 109 | if ((opts & BNDL_ARRAY_MASK_ADD) == BNDL_BINSERT) |
| 110 | return(-1); | 110 | return(-1); |
| 111 | if ((opts & BNDL_ARRAY_MASK_ADD) == BNDL_ARRAY_REPLACE) | 111 | if ((opts & BNDL_ARRAY_MASK_ADD) == BNDL_ARRAY_REPLACE) |
| 112 | { | 112 | { |
