diff options
author | Mike Buland <eichlan@xagasoft.com> | 2008-09-24 22:09:15 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2008-09-24 22:09:15 +0000 |
commit | 4ff8dce62307257fd8df146e29b4223a7df456f8 (patch) | |
tree | 92e72ab75390a9acb48158fd9a1f6d89c560701b /src | |
parent | 1ca201c4151ce6e4ac4921c641fec7d21d64752c (diff) | |
download | libbu++-4ff8dce62307257fd8df146e29b4223a7df456f8.tar.gz libbu++-4ff8dce62307257fd8df146e29b4223a7df456f8.tar.bz2 libbu++-4ff8dce62307257fd8df146e29b4223a7df456f8.tar.xz libbu++-4ff8dce62307257fd8df146e29b4223a7df456f8.zip |
Hey, it wasn't a problem with libbu++, just my desktop machine...uh...dying a
slow, painful death? Anyway, I removed all the extra debugging info.
Diffstat (limited to 'src')
-rw-r--r-- | src/bzip2.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bzip2.cpp b/src/bzip2.cpp index c367cff..c6742f2 100644 --- a/src/bzip2.cpp +++ b/src/bzip2.cpp | |||
@@ -7,7 +7,6 @@ | |||
7 | 7 | ||
8 | #include "bu/bzip2.h" | 8 | #include "bu/bzip2.h" |
9 | #include "bu/exceptions.h" | 9 | #include "bu/exceptions.h" |
10 | #define BU_TRACE | ||
11 | #include "bu/trace.h" | 10 | #include "bu/trace.h" |
12 | 11 | ||
13 | using namespace Bu; | 12 | using namespace Bu; |
@@ -123,11 +122,10 @@ void Bu::BZip2::bzError( int code ) | |||
123 | size_t Bu::BZip2::read( void *pData, size_t nBytes ) | 122 | size_t Bu::BZip2::read( void *pData, size_t nBytes ) |
124 | { | 123 | { |
125 | TRACE( pData, nBytes ); | 124 | TRACE( pData, nBytes ); |
126 | printf("READ!!!\n"); | ||
127 | if( !bzState.state ) | 125 | if( !bzState.state ) |
128 | { | 126 | { |
129 | bReading = true; | 127 | bReading = true; |
130 | BZ2_bzDecompressInit( &bzState, 7, 0 ); | 128 | BZ2_bzDecompressInit( &bzState, 0, 0 ); |
131 | bzState.next_in = pBuf; | 129 | bzState.next_in = pBuf; |
132 | bzState.avail_in = 0; | 130 | bzState.avail_in = 0; |
133 | } | 131 | } |