From ec05778d5718a7912e506764d443a78d6a6179e3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Nov 2012 22:41:51 +0000 Subject: Converted tabs to spaces with tabconv. --- src/tests/deflate.cpp | 78 +++++++++++++++++++++++++-------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) (limited to 'src/tests/deflate.cpp') diff --git a/src/tests/deflate.cpp b/src/tests/deflate.cpp index 8290ed5..89640e1 100644 --- a/src/tests/deflate.cpp +++ b/src/tests/deflate.cpp @@ -10,44 +10,44 @@ int main( int argc, char *argv[] ) { - if( argc < 3 ) - { - printf("usage: %s \n", argv[0] ); - return -1; - } - - char buf[1024]; - size_t nRead; - - /* - Bu::File fin( argv[1], Bu::File::Read ); - fin.seek( 4 ); - Bu::Deflate def( fin ); - - Bu::File f( argv[2], Bu::File::WriteNew ); - - for(;;) - { - nRead = def.read( buf, 1024 ); - if( nRead > 0 ) - f.write( buf, nRead ); - if( def.isEos() ) - break; - } - */ - - Bu::File fin( argv[1], Bu::File::Read ); - - Bu::File f( argv[2], Bu::File::WriteNew ); - Bu::Deflate def( f, 9, Bu::Deflate::Gzip ); - - for(;;) - { - nRead = fin.read( buf, 1024 ); - if( nRead > 0 ) - def.write( buf, nRead ); - if( fin.isEos() ) - break; - } + if( argc < 3 ) + { + printf("usage: %s \n", argv[0] ); + return -1; + } + + char buf[1024]; + size_t nRead; + + /* + Bu::File fin( argv[1], Bu::File::Read ); + fin.seek( 4 ); + Bu::Deflate def( fin ); + + Bu::File f( argv[2], Bu::File::WriteNew ); + + for(;;) + { + nRead = def.read( buf, 1024 ); + if( nRead > 0 ) + f.write( buf, nRead ); + if( def.isEos() ) + break; + } + */ + + Bu::File fin( argv[1], Bu::File::Read ); + + Bu::File f( argv[2], Bu::File::WriteNew ); + Bu::Deflate def( f, 9, Bu::Deflate::Gzip ); + + for(;;) + { + nRead = fin.read( buf, 1024 ); + if( nRead > 0 ) + def.write( buf, nRead ); + if( fin.isEos() ) + break; + } } -- cgit v1.2.3