Mercurial > dovecot > core-2.2
changeset 20609:241194ca9c82
doveadm: Revert earlier NUL-printing change 793b024bf.
It changes the output in ways that are a bit difficult to fix. Also the
the important part where NULs printing is useful is in a message body,
which should work even without this change. So for now just revert it.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Mon, 08 Aug 2016 19:11:16 +0300 |
parents | 4ad948d0a6a4 |
children | faa75dd3298b |
files | src/doveadm/server-connection.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/server-connection.c Mon Aug 08 17:56:48 2016 +0300 +++ b/src/doveadm/server-connection.c Mon Aug 08 19:11:16 2016 +0300 @@ -161,8 +161,7 @@ } else { str_truncate(str, 0); str_append_tabunescaped(str, data, size); - doveadm_print_stream(str->data, str->used); - doveadm_print_stream("", 0); + doveadm_print(str_c(str)); } }