snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 22a23dbdd1fca4695c012c31d5e5502f38212ed8
parent 2bfbe6215f849c1b8af3df88d33e34dcc572844c
Author: default <nobody@localhost>
Date:   Thu,  6 Feb 2025 10:56:21 +0100

Minor tweak to inbox_list().

Diffstat:
Mdata.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data.c b/data.c @@ -2601,7 +2601,7 @@ xs_list *inbox_list(void) if ((f = fopen(v, "r")) != NULL) { xs *line = xs_readline(f); - if (line) { + if (line && *line) { line = xs_strip_i(line); ibl = xs_list_append(ibl, line); }