diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-10-06 13:16:15 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-10-06 13:16:15 +0200 |
commit | 1748c0f52a5ba5b451d74c6feefefb404cb4d9d6 (patch) | |
tree | 115f5d5c77d7850f306878f90413d3769ba52edc | |
parent | 5f45b7d53361bd32ce390e12f814660a98f86aa9 (diff) | |
download | mblaze-1748c0f52a5ba5b451d74c6feefefb404cb4d9d6.tar.gz mblaze-1748c0f52a5ba5b451d74c6feefefb404cb4d9d6.tar.xz mblaze-1748c0f52a5ba5b451d74c6feefefb404cb4d9d6.zip |
mhdr: do not return void values
-rw-r--r-- | mhdr.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mhdr.c b/mhdr.c index 73d76f9..c31cee2 100644 --- 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) { |