diff options
Diffstat (limited to 'src/tests/bzip2.cpp')
-rw-r--r-- | src/tests/bzip2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/bzip2.cpp b/src/tests/bzip2.cpp index 603e937..4de06d2 100644 --- a/src/tests/bzip2.cpp +++ b/src/tests/bzip2.cpp | |||
@@ -19,10 +19,10 @@ int main( int argc, char *argv[] ) | |||
19 | char buf[1024]; | 19 | char buf[1024]; |
20 | size_t nRead; | 20 | size_t nRead; |
21 | 21 | ||
22 | Bu::File f( argv[0], Bu::File::Write ); | ||
23 | Bu::BZip2 bz2( f ); | ||
24 | |||
25 | Bu::File fin( argv[1], Bu::File::Read ); | 22 | Bu::File fin( argv[1], Bu::File::Read ); |
23 | |||
24 | Bu::File f( argv[2], Bu::File::WriteNew ); | ||
25 | Bu::BZip2 bz2( f ); | ||
26 | 26 | ||
27 | for(;;) | 27 | for(;;) |
28 | { | 28 | { |