mshow: list, reply: skip leading spaces for file names

pull/79/head^2
Leah Neukirchen 7 years ago
parent 4fef01ab6d
commit 6310898b10

@ -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;

Loading…
Cancel
Save