From d9e2ab132252ea10fa699591f2b064d77220d42a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 7 Nov 2019 14:34:48 +0200 Subject: [PATCH] lib-imap: imap_write_arg() - Write IMAP_ARG_LITERAL_SIZE* the same as imap_write_args_for_human() Either way it's not a proper literal because the content is missing. This is at least now more consistent. --- src/lib-imap/imap-util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib-imap/imap-util.c b/src/lib-imap/imap-util.c index 048192a202..34ebe5d203 100644 --- a/src/lib-imap/imap-util.c +++ b/src/lib-imap/imap-util.c @@ -102,9 +102,8 @@ void imap_write_arg(string_t *dest, const struct imap_arg *arg) break; case IMAP_ARG_LITERAL_SIZE: case IMAP_ARG_LITERAL_SIZE_NONSYNC: - str_printfa(dest, "{%"PRIuUOFF_T"}\r\n", + str_printfa(dest, "<%"PRIuUOFF_T" byte literal>", imap_arg_as_literal_size(arg)); - str_append(dest, ""); break; case IMAP_ARG_EOL: i_unreached(); -- 2.47.3