From 52c2768cf52358915d8659a60ca430eecbebb656 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Thu, 27 Apr 2017 13:33:54 +0200 Subject: sfeed_mbox: remove redundant condition --- sfeed_mbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfeed_mbox.c b/sfeed_mbox.c index 3649422..9d8cd85 100644 --- 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)) -- cgit v1.2.3