summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorGravatar default2024-11-25 10:24:47 +0100
committerGravatar default2024-11-25 10:24:47 +0100
commitb3be8e06734c6428376514024af7cabf13774dce (patch)
treef7e655e55c208270e729b9a0fec0ec22f8196282 /utils.c
parentMost CSV import code has been moved to their own functions. (diff)
downloadsnac2-b3be8e06734c6428376514024af7cabf13774dce.tar.gz
snac2-b3be8e06734c6428376514024af7cabf13774dce.tar.xz
snac2-b3be8e06734c6428376514024af7cabf13774dce.zip
New cmdline ops 'import_list' and 'import_block_list'.
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index b0d8193..df3b55d 100644
--- a/utils.c
+++ b/utils.c
@@ -681,7 +681,7 @@ void import_blocked_accounts_csv(snac *user, const char *fn)
681 while (!feof(f)) { 681 while (!feof(f)) {
682 xs *l = xs_strip_i(xs_readline(f)); 682 xs *l = xs_strip_i(xs_readline(f));
683 683
684 if (*l) { 684 if (*l && strchr(l, '@') != NULL) {
685 xs *url = NULL; 685 xs *url = NULL;
686 xs *uid = NULL; 686 xs *uid = NULL;
687 687