aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 9f0eb21..dc91e4b 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -166,9 +166,9 @@ void Bu::Client::read( void *pData, int nBytes )
166 } 166 }
167} 167}
168 168
169void Bu::Client::peek( void *pData, int nBytes ) 169void Bu::Client::peek( void *pData, int nBytes, int nOffset )
170{ 170{
171 memcpy( pData, sReadBuf.getStr()+nRBOffset, nBytes ); 171 memcpy( pData, sReadBuf.getStr()+nRBOffset+nOffset, nBytes );
172} 172}
173 173
174void Bu::Client::seek( int nBytes ) 174void Bu::Client::seek( int nBytes )