diff options
Diffstat (limited to '')
| -rw-r--r-- | src/client.cpp | 4 |
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 | ||
| 169 | void Bu::Client::peek( void *pData, int nBytes ) | 169 | void 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 | ||
| 174 | void Bu::Client::seek( int nBytes ) | 174 | void Bu::Client::seek( int nBytes ) |
