diff options
| author | default <nobody@localhost> | 2026-08-26 08:17:03 +0200 |
|---|---|---|
| committer | default <nobody@localhost> | 2026-08-26 08:17:03 +0200 |
| commit | 319d5cae0e632e1891f442194afe5e36aa48e6c4 (patch) | |
| tree | 7bc2a70a725a635ae00b28266bc0c79be4ef3195 /utils.c | |
| parent | 120308074813de49fea6728259b5d78a907ea9b2 (diff) | |
Use snac_op in list_maint().
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |