aboutsummaryrefslogtreecommitdiff
path: root/src/IO/IO.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO/IO.c')
-rw-r--r--src/IO/IO.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/IO/IO.c b/src/IO/IO.c
index 2e09c1b0..4b24c774 100644
--- a/src/IO/IO.c
+++ b/src/IO/IO.c
@@ -354,9 +354,8 @@ void a_IO_ccc(int Op, int Branch, int Dir, ChainLink *Info,
case OpAbort:
io = Info->LocalKey;
if (io->Buf->len > 0) {
- /* MSG can be truncated by embedded NULLs */
MSG_WARN("IO_write, closing with pending data not sent\n");
- MSG_WARN(" \"%s\"\n", io->Buf->str);
+ MSG_WARN(" \"%s\"\n", dStr_printable(io->Buf, 2048));
}
/* close FD, remove from ValidIOs and remove its watch */
IO_close_fd(io, IO_StopRdWr);