summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mhdr.c12
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) {