commit 82204328efe8965bbd4a7a9028a334092d136098
parent 2425c3392e1d9c61ac7b87c4babcd9a0d384e3c3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 14 Jul 2020 21:31:31 +0200
feed_getitems: f->path can be NULL when reading from stdin
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -1061,7 +1061,7 @@ feed_load(struct feed *f, FILE *fp)
p->nrows = 0;
if (feed_getitems(f, fp, &items, &nitems) == -1)
- err(1, "%s: %s", __func__, f->path);
+ err(1, "%s: %s", __func__, f->name);
f->totalnew = 0;
f->total = nitems;