diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-04-17 23:25:40 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-04-17 23:25:40 +0000 |
commit | 343bffafecd4329ce5ae6625fc6b2c1ea9759f36 (patch) | |
tree | 89a88409e5d3f7e71902ed150e7bc7990037bf76 /src/stable/bzip2.cpp | |
parent | df07e63244b763594fee882b2b3dfcc31fd44209 (diff) | |
download | libbu++-343bffafecd4329ce5ae6625fc6b2c1ea9759f36.tar.gz libbu++-343bffafecd4329ce5ae6625fc6b2c1ea9759f36.tar.bz2 libbu++-343bffafecd4329ce5ae6625fc6b2c1ea9759f36.tar.xz libbu++-343bffafecd4329ce5ae6625fc6b2c1ea9759f36.zip |
Fixed bug in bzip2 double-stop.
Diffstat (limited to 'src/stable/bzip2.cpp')
-rw-r--r-- | src/stable/bzip2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stable/bzip2.cpp b/src/stable/bzip2.cpp index ce83e8a..dd2ed53 100644 --- a/src/stable/bzip2.cpp +++ b/src/stable/bzip2.cpp | |||
@@ -47,6 +47,9 @@ void Bu::BZip2::start() | |||
47 | Bu::size Bu::BZip2::stop() | 47 | Bu::size Bu::BZip2::stop() |
48 | { | 48 | { |
49 | TRACE(); | 49 | TRACE(); |
50 | if( !pState ) | ||
51 | return 0; | ||
52 | |||
50 | if( pState->state ) | 53 | if( pState->state ) |
51 | { | 54 | { |
52 | if( bReading ) | 55 | if( bReading ) |