summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-22 09:23:48 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-22 09:23:48 +0000
commit3a6fb774e3d0466a1b0e78364d114a6f9b3023d5 (patch)
treec8ee83e4541848b98dc90a2ee9cf7044bb5ff3e9 /lib.c
parent81817e80725b2aec981e96f6026732dbea9748e5 (diff)
Make _all_ IMAP-related code conditionally defined. From Byrial
Jensen.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib.c b/lib.c
index f491c32a..dddb45ac 100644
--- a/lib.c
+++ b/lib.c
@@ -1154,7 +1154,9 @@ int mutt_save_confirm (const char *s, struct stat *st)
}
else
{
+#ifdef USE_IMAP
if (magic != M_IMAP)
+#endif /* execute the block unconditionally if we don't use imap */
{
st->st_mtime = 0;
st->st_atime = 0;