aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2026-08-26 08:17:03 +0200
committerdefault <nobody@localhost>2026-08-26 08:17:03 +0200
commit319d5cae0e632e1891f442194afe5e36aa48e6c4 (patch)
tree7bc2a70a725a635ae00b28266bc0c79be4ef3195 /utils.c
parent120308074813de49fea6728259b5d78a907ea9b2 (diff)
Use snac_op in list_maint().
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index 6d202d8..8780270 100644
--- a/utils.c
+++ b/utils.c
@@ -698,7 +698,7 @@ void export_csv(snac *user)
if ((f = fopen(fn, "w")) != NULL) {
snac_log(user, xs_fmt("Creating %s...", fn));
- xs *lol = list_maint(user, NULL, 0);
+ xs *lol = list_maint(user, NULL, OP_LIST);
const xs_list *li;
xs_list_foreach(lol, li) {
@@ -927,7 +927,7 @@ void import_list_csv(snac *user, const char *ifn)
if (lname && acct) {
/* create the list */
- xs *list_id = list_maint(user, lname, 1);
+ xs *list_id = list_maint(user, lname, OP_ADD);
xs *url = NULL;
xs *uid = NULL;