From: Timo Sirainen Date: Thu, 7 Nov 2019 12:34:48 +0000 (+0200) Subject: lib-imap: imap_write_arg() - Write IMAP_ARG_LITERAL_SIZE* the same as imap_write_args... X-Git-Tag: 2.3.9~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=643d9192c62bca7769b83b012e0aa9eea54fd6a6;p=thirdparty%2Fdovecot%2Fcore.git 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. --- 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();