aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-07-10 00:32:36 +0000
committerMike Buland <eichlan@xagasoft.com>2007-07-10 00:32:36 +0000
commit22e51abaebd4f0c194e505d879f9b6a2fc31890d (patch)
tree25b57bfbc04af4a772516983d926f3858fe0cd61 /src/client.cpp
parent2de3693dd24463c5a02b9308ddfd674f58bac7c1 (diff)
downloadlibbu++-22e51abaebd4f0c194e505d879f9b6a2fc31890d.tar.gz
libbu++-22e51abaebd4f0c194e505d879f9b6a2fc31890d.tar.bz2
libbu++-22e51abaebd4f0c194e505d879f9b6a2fc31890d.tar.xz
libbu++-22e51abaebd4f0c194e505d879f9b6a2fc31890d.zip
Fixed a bunch of stuff, I don't even know what...
Diffstat (limited to 'src/client.cpp')
-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 )