diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-03-02 10:40:15 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-03-02 10:40:15 -0500 |
commit | 260883c11f051853876d34bf1c9448d0063f9f5a (patch) | |
tree | cde905ad22d133244be3fadd4b2ee038871ca7d7 /indra | |
parent | d16ce6bf0422f46e3a2d9966cd4210f4f4e35a83 (diff) |
Clarify LLProcess debug log message about reading from child pipe.
Previous "read N of M bytes" wording implied that the child had M bytes to
send, but we only read N of them. In reality we have no idea how many bytes
the child is trying to send, only how many the OS is willing to deliver at
this moment. To me, "filled N of M bytes" more clearly implies that M is the
buffer size.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/llprocess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llprocess.cpp b/indra/llcommon/llprocess.cpp index 9c49517598..ad8e3a930e 100644 --- a/indra/llcommon/llprocess.cpp +++ b/indra/llcommon/llprocess.cpp @@ -367,7 +367,7 @@ public: // received. Make sure we commit those later. (Don't commit them // now, that would invalidate the buffer iterator sequence!) tocommit += gotten; - LL_DEBUGS("LLProcess") << "read " << gotten << " of " << toread + LL_DEBUGS("LLProcess") << "filled " << gotten << " of " << toread << " bytes from " << mDesc << LL_ENDL; // The parent end of this pipe is nonblocking. If we weren't even |