Bugfixes
* mh/rmf.c (current_folder_path): Treat name as folder while expanding. * mail/unset.c (mail_unset): Fix the behavior when no arguments were given.
Showing
2 changed files
with
3 additions
and
3 deletions
... | @@ -92,7 +92,7 @@ opt_handler (int key, char *arg, struct argp_state *state) | ... | @@ -92,7 +92,7 @@ opt_handler (int key, char *arg, struct argp_state *state) |
92 | } | 92 | } |
93 | 93 | ||
94 | static char * | 94 | static char * |
95 | current_folder_path () | 95 | current_folder_path (void) |
96 | { | 96 | { |
97 | mu_mailbox_t mbox = mh_open_folder (mh_current_folder (), MU_STREAM_RDWR); | 97 | mu_mailbox_t mbox = mh_open_folder (mh_current_folder (), MU_STREAM_RDWR); |
98 | mu_url_t url; | 98 | mu_url_t url; |
... | @@ -197,7 +197,7 @@ main (int argc, char **argv) | ... | @@ -197,7 +197,7 @@ main (int argc, char **argv) |
197 | name = cur_folder_path; | 197 | name = cur_folder_path; |
198 | } | 198 | } |
199 | else | 199 | else |
200 | name = mh_expand_name (NULL, folder_name, NAME_ANY); | 200 | name = mh_expand_name (NULL, folder_name, NAME_FOLDER); |
201 | if (recursive) | 201 | if (recursive) |
202 | status = recrmf (name); | 202 | status = recrmf (name); |
203 | else | 203 | else | ... | ... |
-
Please register or sign in to post a comment