diff options
Diffstat (limited to 'comm')
-rw-r--r-- | comm/MsgBuffer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comm/MsgBuffer.cc b/comm/MsgBuffer.cc index 07ca341..f1dbeda 100644 --- a/comm/MsgBuffer.cc +++ b/comm/MsgBuffer.cc @@ -139,7 +139,7 @@ IvlMsgBuffer :: Clear () } /*? -Insure that a IvlMsgBuffer.has at least \var{sz} free bytes. +Insure that an IvlMsgBuffer has at least \var{sz} free bytes. The buffer may be reallocated with a new size to provide the necessary space. ?*/ void @@ -231,7 +231,7 @@ IvlMsgBuffer :: SetSizes (int min, int grow, int max) if (grow >= 0) GrowSize = pad (grow); if (max >= 0) - MaxSize = pad (grow); + MaxSize = pad (max); if (min == 0) MinSize = 128; if (grow == 0) |