/*
** We allocate space to record the names of folders
** (foldersToDo array), this number of elements at a time.
/*
** We allocate space to record the names of folders
** (foldersToDo array), this number of elements at a time.
static int all = FALSE; /* scan all folders in top level? */
static int alphaOrder = FALSE; /* want alphabetical order only */
static int recurse = FALSE; /* show nested folders? */
static int showzero = TRUE; /* show folders even if no messages in seq? */
static int all = FALSE; /* scan all folders in top level? */
static int alphaOrder = FALSE; /* want alphabetical order only */
static int recurse = FALSE; /* show nested folders? */
static int showzero = TRUE; /* show folders even if no messages in seq? */
* sequence found, and total num messages */
static char curfol[BUFSIZ]; /* name of the current folder */
* sequence found, and total num messages */
static char curfol[BUFSIZ]; /* name of the current folder */
- int i, j, len, has_private = 0;
- int maxfolderlen = 0, maxseqlen = 0;
+ unsigned int i, j, len, has_private = 0;
+ unsigned int maxfolderlen = 0, maxseqlen = 0;
for (i = 0; i < nFolders; i++)
printf("%s\n", folders[i].name);
return;
for (i = 0; i < nFolders; i++)
printf("%s\n", folders[i].name);
return;