Mercurial > dovecot > core-2.2
changeset 22856:e47f61de06b7
imap: If snippet is not available return NIL
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Sun, 18 Feb 2018 18:11:18 +0200 |
parents | d90c7241317a |
children | e614a9cc7616 |
files | src/imap/imap-fetch-body.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/imap-fetch-body.c Sun Feb 18 00:53:12 2018 +0200 +++ b/src/imap/imap-fetch-body.c Sun Feb 18 18:11:18 2018 +0200 @@ -610,6 +610,7 @@ return -1; } else if (lazy) { /* not in cache && lazy => give up */ + str_append(ctx->state.cur_str, "SNIPPET (FUZZY NIL)"); return 1; } else { /* @@ -621,6 +622,7 @@ * sufficiently convoluted this else branch serves to * document it. */ + str_append(ctx->state.cur_str, "SNIPPET (FUZZY NIL)"); return 1; }