diff options
| author | 2024-11-25 10:24:47 +0100 | |
|---|---|---|
| committer | 2024-11-25 10:24:47 +0100 | |
| commit | b3be8e06734c6428376514024af7cabf13774dce (patch) | |
| tree | f7e655e55c208270e729b9a0fec0ec22f8196282 /utils.c | |
| parent | Most CSV import code has been moved to their own functions. (diff) | |
| download | snac2-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | ||