From 582d5e802ceb8e0c7f0dc5b83fdbf2a62fc10fb3 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 1 May 2017 21:42:59 +0100 Subject: [PATCH] picksbr.c: Remove some else after break in plist(). --- uip/picksbr.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/uip/picksbr.c b/uip/picksbr.c index c29e669b..c0799bd9 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -681,21 +681,18 @@ plist --p2; break; } - else - lf = 0; + lf = 0; } if (c == '\n') { if (body) break; - else { - if (lf) { - body++; - break; - } - lf++; - /* Unfold by skipping the newline. */ - c = 0; - } + if (lf) { + body++; + break; + } + lf++; + /* Unfold by skipping the newline. */ + c = 0; } if (c && p1 < &linebuf[LBSIZE - 1]) *p1++ = c; -- 2.56.0