aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2018-06-21 20:01:41 +0200
committerMatthias Andree <matthias.andree@gmx.de>2018-06-21 20:01:41 +0200
commite31ffdd9cdfb802ae30f341cea25c5f0c540e956 (patch)
tree0ff4237c8d88a6c314775c1519f9a9bb5e582cf0 /imap.c
parent2a2f4b0a54f67913f6a1a6cce315b77b5ed5fc74 (diff)
downloadfetchmail-e31ffdd9cdfb802ae30f341cea25c5f0c540e956.tar.gz
fetchmail-e31ffdd9cdfb802ae30f341cea25c5f0c540e956.tar.bz2
fetchmail-e31ffdd9cdfb802ae30f341cea25c5f0c540e956.zip
imap_delete(): clean up delflags[_seen] variables.
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/imap.c b/imap.c
index 3eb831f9..9a6a123c 100644
--- a/imap.c
+++ b/imap.c
@@ -1301,12 +1301,7 @@ static int imap_delete(int sock, struct query *ctl, int number)
{
int ok;
/* Select which flags to set on message deletion: */
- const char delflags_seen[] = "\\Seen \\Deleted";
- static const char *delflags;
- /* Which environment variable to look for: */
-
- /* DEFAULT since many fetchmail versions <= 6.3.X */
- delflags = delflags_seen;
+ static const char delflags[] = "\\Seen \\Deleted";
(void)ctl;
/* expunges change the fetch numbers */