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
@@ -295,5 +295,5 @@ list_helper (struct mu_folder_scanner *scn,
struct folder_scan_data *data,
struct inode_list *ilist,
- const char *dirname, size_t level)
+ const char *dirname, size_t depth)
{
DIR *dirp;
@@ -301,5 +301,5 @@ list_helper (struct mu_folder_scanner *scn,
int stop = 0;
- if (scn->max_level && level >= scn->max_level)
+ if (scn->max_depth && depth >= scn->max_depth)
return 0;
@@ -378,5 +378,5 @@ list_helper (struct mu_folder_scanner *scn,
{
resp->name = fname;
- resp->level = level;
+ resp->depth = depth;
resp->separator = '/';
resp->type = type;
@@ -422,5 +422,5 @@ list_helper (struct mu_folder_scanner *scn,
idata.next = ilist;
stop = list_helper (scn, data, &idata, refname,
- level + 1);
+ depth + 1);
}
}
@@ -432,5 +432,5 @@ list_helper (struct mu_folder_scanner *scn,
idata.dev = st.st_dev;
idata.next = ilist;
- stop = list_helper (scn, data, &idata, fname, level + 1);
+ stop = list_helper (scn, data, &idata, fname, depth + 1);
}
}
@@ -509,5 +509,5 @@ _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 = '/';
rc = mu_list_append (flist, resp);

Return to:

Send suggestions and report system problems to the System administrator.