Mercurial > dovecot > core-2.2
changeset 1068:be54621f4079 HEAD
Giving >7 args to imap command was buggy
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 01 Feb 2003 12:29:17 +0200 |
parents | 800810173989 |
children | 8024a2cdc406 |
files | src/lib-imap/imap-parser.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-imap/imap-parser.c Sat Feb 01 12:16:34 2003 +0200 +++ b/src/lib-imap/imap-parser.c Sat Feb 01 12:29:17 2003 +0200 @@ -53,8 +53,8 @@ p_realloc((parser)->pool, old_list, \ sizeof(struct imap_arg_list) + \ (old_list == NULL ? 0 : \ - sizeof(struct imap_arg) * (old_list)->alloc), \ - sizeof(struct imap_arg) * (new_size)) + sizeof(struct imap_arg_list) * (old_list)->alloc), \ + sizeof(struct imap_arg_list) * (new_size)) static void imap_args_realloc(struct imap_parser *parser, size_t size) {