about summary refs log tree commit diff
path: root/mshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'mshow.c')
-rw-r--r--mshow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mshow.c b/mshow.c
index f50ef52..98c309e 100644
--- a/mshow.c
+++ b/mshow.c
@@ -386,6 +386,8 @@ list_mime(int depth, struct message *msg, char *body, size_t bodylen)
 void
 list(char *file)
 {
+	while (*file == ' ' || *file == '\t')
+		file++;
 	struct message *msg = blaze822_file(file);
 	if (!msg)
 		return;
@@ -397,6 +399,8 @@ list(char *file)
 void
 reply(char *file)
 {
+	while (*file == ' ' || *file == '\t')
+		file++;
 	struct message *msg = blaze822_file(file);
 	if (!msg)
 		return;