summaryrefslogtreecommitdiff
path: root/ACE/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols')
-rw-r--r--ACE/protocols/ace/INet/BufferedStreamBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/protocols/ace/INet/BufferedStreamBuffer.cpp b/ACE/protocols/ace/INet/BufferedStreamBuffer.cpp
index 4eef552bd5d..514de700ebc 100644
--- a/ACE/protocols/ace/INet/BufferedStreamBuffer.cpp
+++ b/ACE/protocols/ace/INet/BufferedStreamBuffer.cpp
@@ -65,7 +65,7 @@ namespace ACE
if (putback > 4) putback = 4;
ACE_OS::memmove (this->buffer_.get () + (4 - putback),
- this->gptr (),
+ this->gptr () - putback,
putback * sizeof (char_type));
if (this->interceptor_)