summaryrefslogtreecommitdiff
path: root/libmailutils/mailbox/fsfolder.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmailutils/mailbox/fsfolder.c')
-rw-r--r--libmailutils/mailbox/fsfolder.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libmailutils/mailbox/fsfolder.c b/libmailutils/mailbox/fsfolder.c
index 553c9fddf..4afdbd6e9 100644
--- a/libmailutils/mailbox/fsfolder.c
+++ b/libmailutils/mailbox/fsfolder.c
@@ -296,3 +296,3 @@ list_helper (struct mu_folder_scanner *scn,
struct inode_list *ilist,
- const char *dirname, size_t level)
+ const char *dirname, size_t depth)
{
@@ -302,3 +302,3 @@ list_helper (struct mu_folder_scanner *scn,
- if (scn->max_level && level >= scn->max_level)
+ if (scn->max_depth && depth >= scn->max_depth)
return 0;
@@ -379,3 +379,3 @@ list_helper (struct mu_folder_scanner *scn,
resp->name = fname;
- resp->level = level;
+ resp->depth = depth;
resp->separator = '/';
@@ -423,3 +423,3 @@ list_helper (struct mu_folder_scanner *scn,
stop = list_helper (scn, data, &idata, refname,
- level + 1);
+ depth + 1);
}
@@ -433,3 +433,3 @@ list_helper (struct mu_folder_scanner *scn,
idata.next = ilist;
- stop = list_helper (scn, data, &idata, fname, level + 1);
+ stop = list_helper (scn, data, &idata, fname, depth + 1);
}
@@ -510,3 +510,3 @@ _fsfolder_lsub (mu_folder_t folder, const char *ref, const char *name,
resp->type = MU_FOLDER_ATTRIBUTE_FILE;
- resp->level = 0;
+ resp->depth = 0;
resp->separator = '/';

Return to:

Send suggestions and report system problems to the System administrator.