Mercurial > dovecot > original-hg > imaptest
changeset 333:6c8a7fbd6574
Fixed message-id=NIL in ENVELOPE
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 16 Nov 2013 21:53:44 +0200 |
parents | 078d01cda02f |
children | 8fc81f2e1470 |
files | src/mailbox-state.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mailbox-state.c Sat Nov 16 21:47:20 2013 +0200 +++ b/src/mailbox-state.c Sat Nov 16 21:53:44 2013 +0200 @@ -35,7 +35,8 @@ struct message_global *msg; pool_t pool = client->storage->source->messages_pool; - if (list_count < 9 || !imap_arg_get_astring(&args[9], &str)) + if (list_count < 9 || !imap_arg_get_nstring(&args[9], &str) || + str == NULL) return; orig_str = str;