aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-04-17 23:25:40 +0000
committerMike Buland <eichlan@xagasoft.com>2012-04-17 23:25:40 +0000
commit343bffafecd4329ce5ae6625fc6b2c1ea9759f36 (patch)
tree89a88409e5d3f7e71902ed150e7bc7990037bf76
parentdf07e63244b763594fee882b2b3dfcc31fd44209 (diff)
downloadlibbu++-343bffafecd4329ce5ae6625fc6b2c1ea9759f36.tar.gz
libbu++-343bffafecd4329ce5ae6625fc6b2c1ea9759f36.tar.bz2
libbu++-343bffafecd4329ce5ae6625fc6b2c1ea9759f36.tar.xz
libbu++-343bffafecd4329ce5ae6625fc6b2c1ea9759f36.zip
Fixed bug in bzip2 double-stop.
Diffstat (limited to '')
-rw-r--r--src/stable/bzip2.cpp3
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()
47Bu::size Bu::BZip2::stop() 47Bu::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 )