sfeed_curses

[fork] sfeed (atom feed) reader
Log | Files | Refs | README | LICENSE

commit 239d2c94559ecb2b0eae3428a1cb81b2ffa74a82
parent 54fae0c3dccae40947edc209c0356fb6b42e08b9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 24 Jun 2020 22:21:44 +0200

ignore TSV lines with which are invalid, like an invalid/empty date

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

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -881,7 +881,7 @@ feed_getitems(struct item **items, size_t *nitems, ssize_t want, line[--linelen] = '\0'; if (linetoitem(line, item) == -1) - errx(1, "invalid line"); + continue; (*nitems)++; }