From 24d46e151326b1b159603442e74540bf87897a53 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 29 Jul 2009 23:02:26 +0000 Subject: Base64, now more clever with fewer options. --- src/tests/base64.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/base64.cpp') diff --git a/src/tests/base64.cpp b/src/tests/base64.cpp index 4f2d68b..eaf6a16 100644 --- a/src/tests/base64.cpp +++ b/src/tests/base64.cpp @@ -13,7 +13,7 @@ int main( int argc, char *argv[] ) argv++; Bu::File fIn( argv[0], Bu::File::Read ); Bu::File fOut( argv[1], Bu::File::WriteNew ); - Bu::Base64 bOut( fOut, Bu::Base64::Write ); + Bu::Base64 bOut( fOut ); char buf[900]; for(;;) @@ -29,7 +29,7 @@ int main( int argc, char *argv[] ) argv++; Bu::File fIn( argv[0], Bu::File::Read ); Bu::File fOut( argv[1], Bu::File::WriteNew ); - Bu::Base64 bIn( fIn, Bu::Base64::Read ); + Bu::Base64 bIn( fIn ); char buf[900]; for(;;) -- cgit v1.2.3