From 2d9e68f3cbd7fe817fa3a204d1a55ac79980abeb Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Mon, 18 Sep 2000 03:36:22 +0000 Subject: unposted: define mailstat as a macro if MAILDIR_SUPPORT is undefined --- Src/utils.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Src/utils.c') diff --git a/Src/utils.c b/Src/utils.c index e503b6844..ca46fd870 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -725,11 +725,7 @@ checkmailpath(char **s) if (**s == 0) { *v = c; zerr("empty MAILPATH component: %s", *s, 0); -#ifndef MAILDIR_SUPPORT - } else if (stat(unmeta(*s), &st) == -1) { -#else } else if (mailstat(unmeta(*s), &st) == -1) { -#endif if (errno != ENOENT) zerr("%e: %s", *s, errno); } else if (S_ISDIR(st.st_mode)) { -- cgit v1.2.3