commit 0ee7239b0c8c7be92bd65c468188069d287f9be5
parent ec0f576c25d35280fd17ac0b0f9b54e6e742565e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 26 Jun 2020 11:52:56 +0200
comment out unused logic (seek offset) that breaks reading from stdin for now
This logic exists because it might be used later for "lazy-loading" many items
in a memory-efficient manner.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -859,8 +859,8 @@ feed_getitems(struct item **items, size_t *nitems, ssize_t want,
*items = NULL;
*nitems = 0;
- if (fseek(fp, offset, SEEK_SET))
- goto err;
+// if (fseek(fp, offset, SEEK_SET))
+// goto err;
/* if loading all items, set cap to 0, expand later */
if (want == -1) {