dovecot-2.2: imap-parser: Removed filling missing parameters wit...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Aug 29 21:08:20 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/f6a9e6d7e5bd
changeset: 14978:f6a9e6d7e5bd
user: Timo Sirainen <tss at iki.fi>
date: Wed Aug 29 21:04:09 2012 +0300
description:
imap-parser: Removed filling missing parameters with NILs.
No code was relying on this behavior.
diffstat:
src/lib-imap/imap-parser.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diffs (15 lines):
diff -r 1309de301a2e -r f6a9e6d7e5bd src/lib-imap/imap-parser.c
--- 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;
More information about the dovecot-cvs
mailing list