summaryrefslogtreecommitdiff
path: root/sfeed_mbox.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-04-27 13:33:54 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-04-27 13:33:54 +0200
commit52c2768cf52358915d8659a60ca430eecbebb656 (patch)
tree8bda10230b313e263fbc7f46329504cf0fa53e86 /sfeed_mbox.c
parent4a788d59984eb47799e08c4242c98014c5a4809f (diff)
sfeed_mbox: remove redundant condition
Diffstat (limited to 'sfeed_mbox.c')
-rw-r--r--sfeed_mbox.c4
1 files 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))