Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imap: allow large literals with APPEND
The APPEND command (with some tag) can come in different varieties: A01 APPEND inbox {n} A02 APPEND inbox (flags) {n} A03 APPEND inbox (time) {n} A04 APPEND inbox (flags) (time) {n} imap_parse_args() transforms those into 3, 4, 4 and 5 arguments, respectively, as empty literals are suppressed (to be visited another time). The imap_cmd_parser_append_begin2() function certainly deals with argc==3, so the result of imap_parse_args() seems acceptable. References: GXH-60, GXL-417
- Loading branch information