summaryrefslogtreecommitdiffabout
path: root/libmu_cpp/folder.cc
Unidiff
Diffstat (limited to 'libmu_cpp/folder.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--libmu_cpp/folder.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmu_cpp/folder.cc b/libmu_cpp/folder.cc
index ebc7401..cf6857f 100644
--- a/libmu_cpp/folder.cc
+++ b/libmu_cpp/folder.cc
@@ -82,12 +82,12 @@ Folder :: close ()
82 82
83List& 83List&
84Folder :: list (const std::string& dirname, void* pattern, 84Folder :: list (const std::string& dirname, void* pattern,
85 size_t max_level = 0) 85 size_t max_depth = 0)
86{ 86{
87 mu_list_t c_list; 87 mu_list_t c_list;
88 88
89 int status = mu_folder_list (folder, dirname.c_str (), pattern, 89 int status = mu_folder_list (folder, dirname.c_str (), pattern,
90 max_level, &c_list); 90 max_depth, &c_list);
91 if (status) 91 if (status)
92 throw Exception ("Folder::list", status); 92 throw Exception ("Folder::list", status);
93 93
@@ -96,13 +96,13 @@ Folder :: list (const std::string& dirname, void* pattern,
96 96
97List& 97List&
98Folder :: enumerate (const std::string& name, void* pattern, 98Folder :: enumerate (const std::string& name, void* pattern,
99 int flags, size_t max_level, 99 int flags, size_t max_depth,
100 mu_folder_enumerate_fp enumfun, void* enumdata) 100 mu_folder_enumerate_fp enumfun, void* enumdata)
101{ 101{
102 mu_list_t c_list; 102 mu_list_t c_list;
103 103
104 int status = mu_folder_enumerate (folder, name.c_str (), pattern, 104 int status = mu_folder_enumerate (folder, name.c_str (), pattern,
105 flags, max_level, &c_list, 105 flags, max_depth, &c_list,
106 enumfun, enumdata); 106 enumfun, enumdata);
107 if (status) 107 if (status)
108 throw Exception ("Folder::enumerate", status); 108 throw Exception ("Folder::enumerate", status);

Return to:

Send suggestions and report system problems to the System administrator.