From 55a0a4a534043e160bb9defab8128febe51454b7 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 10 Apr 2016 14:45:26 +0200 Subject: minor style fixes --- sfeed_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfeed_html.c b/sfeed_html.c index 2e60ad3..1a8b5cc 100644 --- a/sfeed_html.c +++ b/sfeed_html.c @@ -22,7 +22,7 @@ printfeed(FILE *fp, struct feed *f) unsigned int islink, isnew; ssize_t linelen; - if (f->name[0] != '\0') { + if (f->name[0]) { fputs("

name, stdout); fputs("\">= comparetime) ? 1 : 0; - islink = (fields[FieldLink][0] != '\0') ? 1 : 0; + islink = fields[FieldLink][0] ? 1 : 0; totalnew += isnew; f->totalnew += isnew; -- cgit v1.2.3