sfeed

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

commit 52c2768cf52358915d8659a60ca430eecbebb656
parent 4a788d59984eb47799e08c4242c98014c5a4809f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 27 Apr 2017 13:33:54 +0200

sfeed_mbox: remove redundant condition

Diffstat:
Msfeed_mbox.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfeed_mbox.c b/sfeed_mbox.c @@ -35,7 +35,7 @@ read: case 't': fputc('\t', fp); break; case 'n': fputc('\n', fp); - for (s++; *s && *s == '>'; s++) + for (s++; *s == '>'; s++) fputc('>', fp); /* escape "From ", mboxrd-style. */ if (!strncmp(s, "From ", 5)) @@ -45,7 +45,7 @@ read: break; case '\n': fputc((int)*s, fp); - for (s++; *s && *s == '>'; s++) + for (s++; *s == '>'; s++) fputc('>', fp); /* escape "From ", mboxrd-style. */ if (!strncmp(s, "From ", 5))