sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit 23736959669760b02644d3042ff67950d1d61a9e
parent 3c2de33c958405c282a0d27d4bdddda434dbfa99
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 24 Feb 2022 00:39:30 +0100

sfeed_curses: die(): use stdio buffered function/macro

vdprintf() was changed back to vfprintf() in commit 06bb4583, but the write was
not changed.

Change it to be more consistent and use the stdio buffered functions/macro.

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

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -229,8 +229,8 @@ die(const char *fmt, ...) if (saved_errno) fprintf(stderr, ": %s", strerror(saved_errno)); + putc('\n', stderr); fflush(stderr); - write(2, "\n", 1); _exit(1); }