From: Ralph Corderoy Date: Tue, 22 Aug 2017 23:17:22 +0000 (+0100) Subject: Join the lines of another couple of `else if'. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a596b2e5a67b5a250c571d4544c7726554c1ed44?hp=15fde7dd84cc29c054857e5d8a7fdd4a8db10a97 Join the lines of another couple of `else if'. It's misleading to have them on separate lines, especially when there's a blank line in between. --- diff --git a/sbr/addrsbr.c b/sbr/addrsbr.c index 49a6b653..6f0dcac4 100644 --- a/sbr/addrsbr.c +++ b/sbr/addrsbr.c @@ -224,9 +224,7 @@ auxformat (struct mailname *mp, int extras) if (mp->m_nohost) strncpy (addr, FENDNULL(mp->m_mbox), sizeof(addr)); - else - - if (mp->m_type != UUCPHOST) { + else if (mp->m_type != UUCPHOST) { if (mp->m_host) snprintf (addr, sizeof(addr), "%s%s@%s", FENDNULL(mp->m_path), FENDNULL(mp->m_mbox), mp->m_host); diff --git a/sbr/ext_hook.c b/sbr/ext_hook.c index 63869e57..befbd94b 100644 --- a/sbr/ext_hook.c +++ b/sbr/ext_hook.c @@ -60,8 +60,6 @@ ext_hook(char *hook_name, char *message_file_name_1, char *message_file_name_2) } return (NOTOK); - } - - else + } else return (OK); }