sfeed_curses

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

commit eee428bb1a3e809e4866ec896d663501a7cc2e88
parent ccef34a432a1a1fab85c9aa44761a9af8e355cc8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 29 Jun 2020 19:52:47 +0200

remove redundant check for fseek code in "lazyload" mode

Diffstat:
Msfeed_curses.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -1076,10 +1076,6 @@ feeds_load(struct feed *feeds, size_t nfeeds) else feed_count(f, f->fp); - /* must be able to seek if reading from a path */ - if (lazyload && f->path && fseek(f->fp, 0, SEEK_SET)) - err(1, "fseek: %s", f->path); - if (f->path && f->fp) { fclose(f->fp); f->fp = NULL;