sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

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));