summaryrefslogtreecommitdiffstats
path: root/flags.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 /flags.c
parent81817e80725b2aec981e96f6026732dbea9748e5 (diff)
Make _all_ IMAP-related code conditionally defined. From Byrial
Jensen.
Diffstat (limited to 'flags.c')
-rw-r--r--flags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/flags.c b/flags.c
index cd596b39..ccd5dc66 100644
--- a/flags.c
+++ b/flags.c
@@ -46,12 +46,14 @@ void mutt_set_flag (CONTEXT *ctx, HEADER *h, int flag, int bf)
{
h->deleted = 0;
ctx->deleted--;
+#ifdef USE_IMAP
/* if you undelete a message, the imap server will probably need to know. */
if(ctx->magic==M_IMAP)
{
h->changed = 1;
ctx->changed = 1;
}
+#endif
}
break;