Fix opening remote mailbox URLs with path component.
* include/mailutils/folder.h (mu_folder_create_from_record): Change type of the 2nd argument to mu_url_t. * include/mailutils/url.h (mu_url_uplevel): New proto. * mailbox/folder.c (mu_folder_create_from_record): Change type of the 2nd argument to mu_url_t. (mu_folder_create): Reflect changes to mu_folder_create_from_record. * mailbox/mailbox.c (mailbox_folder_create): Use mu_url_uplevel. * mailbox/url.c (mu_url_uplevel): New function.
Showing
6 changed files
with
72 additions
and
48 deletions
-
Please register or sign in to post a comment