From 22e51abaebd4f0c194e505d879f9b6a2fc31890d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 10 Jul 2007 00:32:36 +0000 Subject: Fixed a bunch of stuff, I don't even know what... --- src/client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client.cpp') 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 ) } } -void Bu::Client::peek( void *pData, int nBytes ) +void Bu::Client::peek( void *pData, int nBytes, int nOffset ) { - memcpy( pData, sReadBuf.getStr()+nRBOffset, nBytes ); + memcpy( pData, sReadBuf.getStr()+nRBOffset+nOffset, nBytes ); } void Bu::Client::seek( int nBytes ) -- cgit v1.2.3