X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c08cb60fe34b42b0a83bc88b57fd41b07793863f..90edf2e26c34b9ee225cb066eed069b9b7394c43:/uip/flist.c diff --git a/uip/flist.c b/uip/flist.c index cd505043..057192c3 100644 --- a/uip/flist.c +++ b/uip/flist.c @@ -15,7 +15,8 @@ #include #include -#include "../sbr/m_maildir.h" +#include "h/done.h" +#include "sbr/m_maildir.h" /* * We allocate space to record the names of folders @@ -410,7 +411,7 @@ BuildFolderListRecurse(char *dirName, struct stat *s, int searchdepth) /* Check to see if the name of the file is a number * if it is, we assume it's a mail file and skip it */ - for (n = dp->d_name; *n && isdigit((unsigned char) *n); n++); + for (n = dp->d_name; isdigit((unsigned char)*n); n++); if (!*n) continue; strncpy (name, base, sizeof(name) - 2);