Commit e0e54963 e0e54963811aeb87a401db8efe32198fad8d21e8 by Sergey Poznyakoff

Minor fix

1 parent 0b823ebb
......@@ -311,9 +311,9 @@ int
mu_folder_list (mu_folder_t folder, const char *dirname, const char *basename,
struct mu_folder_list *pflist)
{
if (folder == NULL || folder->_mu_list == NULL)
if (folder == NULL || folder->_list == NULL)
return EINVAL;
return folder->_mu_list (folder, dirname, basename, pflist);
return folder->_list (folder, dirname, basename, pflist);
}
int
......
......@@ -416,7 +416,7 @@ _folder_imap_init (mu_folder_t folder)
folder->_open = folder_imap_open;
folder->_close = folder_imap_close;
folder->_mu_list = folder_imap_list;
folder->_list = folder_imap_list;
folder->_lsub = folder_imap_lsub;
folder->_subscribe = folder_imap_subscribe;
folder->_unsubscribe = folder_imap_unsubscribe;
......
......@@ -55,7 +55,7 @@ struct _mu_folder
int (*_open) (mu_folder_t, int flag);
int (*_close) (mu_folder_t);
int (*_mu_list) (mu_folder_t, const char *, const char *,
int (*_list) (mu_folder_t, const char *, const char *,
struct mu_folder_list *);
int (*_lsub) (mu_folder_t, const char *, const char *,
struct mu_folder_list *);
......
......@@ -165,7 +165,7 @@ _folder_mbox_init (mu_folder_t folder)
folder->_open = folder_mbox_open;
folder->_close = folder_mbox_close;
folder->_mu_list = folder_mbox_list;
folder->_list = folder_mbox_list;
folder->_lsub = folder_mbox_lsub;
folder->_subscribe = folder_mbox_subscribe;
folder->_unsubscribe = folder_mbox_unsubscribe;
......
......@@ -80,7 +80,7 @@ _nntp_folder_init (mu_folder_t folder)
folder->_open = nntp_folder_open;
folder->_close = nntp_folder_close;
folder->_mu_list = nntp_folder_list;
folder->_list = nntp_folder_list;
/* Not supported.
folder->_lsub = folder_nntp_lsub;
folder->_subscribe = folder_nntp_subscribe;
......