sfeed

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

commit 3efa3b0e267540ed85c583b7c2259a93db09f276
parent bb25cc51a8d31f96bb8b63c2bf632f195068330a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue,  1 Jun 2021 18:58:13 +0200

util.c: err() do not print colon formatted

Most common-used compilers (gcc, clang) optimize this away though.

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

diff --git a/util.c b/util.c @@ -22,7 +22,7 @@ err(int exitstatus, const char *fmt, ...) va_start(ap, fmt); vfprintf(stderr, fmt, ap); va_end(ap); - fprintf(stderr, ": "); + fputs(": ", stderr); } fprintf(stderr, "%s\n", strerror(saved_errno));