mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 1748c0f52a5ba5b451d74c6feefefb404cb4d9d6
parent 5f45b7d53361bd32ce390e12f814660a98f86aa9
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Fri,  6 Oct 2017 13:16:15 +0200

mhdr: do not return void values

Diffstat:
mhdr.c | 12++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/mhdr.c b/mhdr.c @@ -171,10 +171,14 @@ header(char *file) if (!msg) return; - if (!hflag) - return headerall(msg); - if (Mflag) - return headermany(msg); + if (!hflag) { + headerall(msg); + return; + } + if (Mflag) { + headermany(msg); + return; + } char *h = hflag; while (*h) {