Commit ae7d6e4d ae7d6e4d1168d310bc429f6003a5928c2aa40169 by Sergey Poznyakoff

Do not handle '%name' separately: mailbox_open_default now does it.

1 parent 659509fa
...@@ -51,21 +51,11 @@ mail_file (int argc, char **argv) ...@@ -51,21 +51,11 @@ mail_file (int argc, char **argv)
51 51
52 switch (argv[1][0]) 52 switch (argv[1][0])
53 { 53 {
54 case '%':
55 if (argv[1][1] == 0)
56 name = NULL; /* our system mailbox */
57 else
58 {
59 util_error("%%user not supported");
60 return 1;
61 }
62 break;
63
64 case '#': 54 case '#':
65 if (!prev_name) 55 if (!prev_name)
66 { 56 {
67 util_error("No previous file"); 57 util_error("No previous file");
68 return 1; 58 return 1;
69 } 59 }
70 name = prev_name; 60 name = prev_name;
71 break; 61 break;
......