summaryrefslogtreecommitdiff
path: root/examples/lsf.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-03-26 21:41:09 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-03-26 21:41:09 +0200
commit60c5545ba8a5c9f4038b5587c96c19b80f538831 (patch)
tree13ecd0d40286e43a37934b0ddd07c1e898fb4d75 /examples/lsf.c
parent5b69ce81ec29afeea0e67bd8b0f0b193a7b0c022 (diff)
downloadmailutils-60c5545ba8a5c9f4038b5587c96c19b80f538831.tar.gz
mailutils-60c5545ba8a5c9f4038b5587c96c19b80f538831.tar.bz2
Consistently use the term 'depth' when referring to directory nesting depth
* include/mailutils/folder.h (mu_list_response): Rename 'level' to 'depth'. All uses updated.
Diffstat (limited to 'examples/lsf.c')
-rw-r--r--examples/lsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lsf.c b/examples/lsf.c
index cba79d30c..c38689352 100644
--- a/examples/lsf.c
+++ b/examples/lsf.c
@@ -26,13 +26,13 @@ static int
enumfun (mu_folder_t folder, struct mu_list_response *resp, void *data)
{
printf ("%c%c %c %4d %s\n",
(resp->type & MU_FOLDER_ATTRIBUTE_DIRECTORY) ? 'd' : '-',
(resp->type & MU_FOLDER_ATTRIBUTE_FILE) ? 'f' : '-',
resp->separator,
- resp->level,
+ resp->depth,
resp->name);
return 0;
}
int
ls_folders (char *fname, char *ref, char *pattern, int level)

Return to:

Send suggestions and report system problems to the System administrator.