Mercurial > dovecot > core-2.2
changeset 14978:f6a9e6d7e5bd
imap-parser: Removed filling missing parameters with NILs.
No code was relying on this behavior.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 29 Aug 2012 21:04:09 +0300 |
parents | 1309de301a2e |
children | e0a3812771fd |
files | src/lib-imap/imap-parser.c |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-imap/imap-parser.c Wed Aug 29 20:16:13 2012 +0300 +++ b/src/lib-imap/imap-parser.c Wed Aug 29 21:04:09 2012 +0300 @@ -621,11 +621,6 @@ return -1; } - /* fill the missing parameters with NILs */ - while (count > array_count(&parser->root_list)) { - arg = array_append_space(&parser->root_list); - arg->type = IMAP_ARG_NIL; - } arg = array_append_space(&parser->root_list); arg->type = IMAP_ARG_EOL;