diff options
author | dgc <dgc.gitlab@bikeshed.us> | 2020-12-06 02:14:27 +0000 |
---|---|---|
committer | Kevin J. McCarthy <kevin@8t8.us> | 2020-12-06 02:14:27 +0000 |
commit | c92a06c0f645074f63fa22bbc3bb5948aeadf659 (patch) | |
tree | 39c4f075f17229ed226c1df757cbe51da2f5a827 /imap/message.c | |
parent | 6fe98cf5da7a097d8d488cf7671dbcb8c090ff8c (diff) |
abstract some List-* header processing
List-Post parsing is inline in the List-Post header handler. This moves
it to some separate functions so that we can use it for other purposes.
Diffstat (limited to 'imap/message.c')
-rw-r--r-- | imap/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/message.c b/imap/message.c index e59e3512..57c43dbb 100644 --- a/imap/message.c +++ b/imap/message.c @@ -716,7 +716,7 @@ static int read_headers_fetch_new (IMAP_DATA *idata, unsigned int msn_begin, FILE *fp = NULL; IMAP_HEADER h; BUFFER *b = NULL, *hdr_list = NULL; - static const char * const want_headers = "DATE FROM SENDER SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL"; + static const char * const want_headers = "DATE FROM SENDER SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-ARCHIVE LIST-HELP LIST-OWNER LIST-POST LIST-SUBSCRIBE LIST-UNSUBSCRIBE X-LABEL"; ctx = idata->ctx; idx = ctx->msgcount; |