Commit e0e54963 e0e54963811aeb87a401db8efe32198fad8d21e8 by Sergey Poznyakoff

Minor fix

1 parent 0b823ebb
...@@ -311,9 +311,9 @@ int ...@@ -311,9 +311,9 @@ int
311 mu_folder_list (mu_folder_t folder, const char *dirname, const char *basename, 311 mu_folder_list (mu_folder_t folder, const char *dirname, const char *basename,
312 struct mu_folder_list *pflist) 312 struct mu_folder_list *pflist)
313 { 313 {
314 if (folder == NULL || folder->_mu_list == NULL) 314 if (folder == NULL || folder->_list == NULL)
315 return EINVAL; 315 return EINVAL;
316 return folder->_mu_list (folder, dirname, basename, pflist); 316 return folder->_list (folder, dirname, basename, pflist);
317 } 317 }
318 318
319 int 319 int
......
...@@ -416,7 +416,7 @@ _folder_imap_init (mu_folder_t folder) ...@@ -416,7 +416,7 @@ _folder_imap_init (mu_folder_t folder)
416 folder->_open = folder_imap_open; 416 folder->_open = folder_imap_open;
417 folder->_close = folder_imap_close; 417 folder->_close = folder_imap_close;
418 418
419 folder->_mu_list = folder_imap_list; 419 folder->_list = folder_imap_list;
420 folder->_lsub = folder_imap_lsub; 420 folder->_lsub = folder_imap_lsub;
421 folder->_subscribe = folder_imap_subscribe; 421 folder->_subscribe = folder_imap_subscribe;
422 folder->_unsubscribe = folder_imap_unsubscribe; 422 folder->_unsubscribe = folder_imap_unsubscribe;
......
...@@ -55,7 +55,7 @@ struct _mu_folder ...@@ -55,7 +55,7 @@ struct _mu_folder
55 55
56 int (*_open) (mu_folder_t, int flag); 56 int (*_open) (mu_folder_t, int flag);
57 int (*_close) (mu_folder_t); 57 int (*_close) (mu_folder_t);
58 int (*_mu_list) (mu_folder_t, const char *, const char *, 58 int (*_list) (mu_folder_t, const char *, const char *,
59 struct mu_folder_list *); 59 struct mu_folder_list *);
60 int (*_lsub) (mu_folder_t, const char *, const char *, 60 int (*_lsub) (mu_folder_t, const char *, const char *,
61 struct mu_folder_list *); 61 struct mu_folder_list *);
......
...@@ -165,7 +165,7 @@ _folder_mbox_init (mu_folder_t folder) ...@@ -165,7 +165,7 @@ _folder_mbox_init (mu_folder_t folder)
165 folder->_open = folder_mbox_open; 165 folder->_open = folder_mbox_open;
166 folder->_close = folder_mbox_close; 166 folder->_close = folder_mbox_close;
167 167
168 folder->_mu_list = folder_mbox_list; 168 folder->_list = folder_mbox_list;
169 folder->_lsub = folder_mbox_lsub; 169 folder->_lsub = folder_mbox_lsub;
170 folder->_subscribe = folder_mbox_subscribe; 170 folder->_subscribe = folder_mbox_subscribe;
171 folder->_unsubscribe = folder_mbox_unsubscribe; 171 folder->_unsubscribe = folder_mbox_unsubscribe;
......
...@@ -80,7 +80,7 @@ _nntp_folder_init (mu_folder_t folder) ...@@ -80,7 +80,7 @@ _nntp_folder_init (mu_folder_t folder)
80 folder->_open = nntp_folder_open; 80 folder->_open = nntp_folder_open;
81 folder->_close = nntp_folder_close; 81 folder->_close = nntp_folder_close;
82 82
83 folder->_mu_list = nntp_folder_list; 83 folder->_list = nntp_folder_list;
84 /* Not supported. 84 /* Not supported.
85 folder->_lsub = folder_nntp_lsub; 85 folder->_lsub = folder_nntp_lsub;
86 folder->_subscribe = folder_nntp_subscribe; 86 folder->_subscribe = folder_nntp_subscribe;
......