summaryrefslogtreecommitdiff
path: root/src/lib/batch.c
diff options
context:
space:
mode:
authorbpc2003 <wpesfriendnva@gmail.com>2025-03-28 12:35:30 -0400
committerbpc2003 <wpesfriendnva@gmail.com>2025-03-28 12:35:30 -0400
commit127964c29a3834404f50fa611d75ce4c679f34ba (patch)
treefcfa054724fd04c6ebb4a8637512c85bda5bb79c /src/lib/batch.c
parent704fb6fee45b3e5feae02d4a9282dccce0d85117 (diff)
Added batch operations into main.c
Diffstat (limited to 'src/lib/batch.c')
-rw-r--r--src/lib/batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/batch.c b/src/lib/batch.c
index 52cc399..5046d82 100644
--- a/src/lib/batch.c
+++ b/src/lib/batch.c
@@ -101,7 +101,7 @@ static int delkey_helper(void *thr_data)
else {
int *indexes = getkeys(delkey_copy, *id);
for (int i = 0; indexes[i]; ++i)
- delkey(delkey_copy, *id, delkey_copy[*id].tab[indexes[i]].key);
+ rc = delkey(delkey_copy, *id, delkey_copy[*id].tab[indexes[i]].key);
free(indexes);
}
mtx_unlock(&delkey_mtx);