the directory is anyway open just after and if failed the content is
ignored
int opt;
char *bindir, *listdir = NULL, *mlmmjsend, *mlmmjbounce, *mlmmjunsub;
char *dirlists = NULL;
- struct stat st;
struct dirent *dp;
DIR *dirp;
bool daemonize = true;
(strcmp(dp->d_name, ".") == 0))
continue;
- if (fstatat(dfd, dp->d_name, &st, 0) <0) {
- log_error(LOG_ARGS, "Could not stat(%s/%s)",
- dirlists, dp->d_name);
- continue;
- }
-
int fd = openat(dfd, dp->d_name, O_DIRECTORY);
if (fd == -1)
continue;