diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-04-27 13:33:54 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-04-27 13:33:54 +0200 |
commit | 52c2768cf52358915d8659a60ca430eecbebb656 (patch) | |
tree | 8bda10230b313e263fbc7f46329504cf0fa53e86 | |
parent | 4a788d59984eb47799e08c4242c98014c5a4809f (diff) |
sfeed_mbox: remove redundant condition
-rw-r--r-- | sfeed_mbox.c | 4 |
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)) |