From 3616c944a81c952ac576ae338f013344e239314a Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sun, 17 Mar 2024 14:41:17 -0400 Subject: [PATCH] Trivial cleanup --- indra/llcommon/llprocess.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/indra/llcommon/llprocess.cpp b/indra/llcommon/llprocess.cpp index eb70da1be60..46331aafb9c 100644 --- a/indra/llcommon/llprocess.cpp +++ b/indra/llcommon/llprocess.cpp @@ -217,15 +217,13 @@ class WritePipeImpl: public LLProcess::WritePipe remainptr += written; remainlen -= written; -#if SHOW_DEBUG - char msgbuf[512]; LL_DEBUGS("LLProcess") << "wrote " << written << " of " << towrite - << " bytes to " << mDesc - << " (original " << total << ")," - << " code " << err << ": " - << apr_strerror(err, msgbuf, sizeof(msgbuf)) - << LL_ENDL; -#endif + << " bytes to " << mDesc + << " (original " << total << ")," + << " code " << err << ": "; + char msgbuf[512]; + LL_CONT << apr_strerror(err, msgbuf, sizeof(msgbuf)) + << LL_ENDL; // The parent end of this pipe is nonblocking. If we weren't able // to write everything we wanted, don't keep banging on it -- that -- GitLab