aboutsummaryrefslogtreecommitdiff
path: root/src/tests/base64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/base64.cpp')
-rw-r--r--src/tests/base64.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/base64.cpp b/src/tests/base64.cpp
index eaf6a16..3122d5c 100644
--- a/src/tests/base64.cpp
+++ b/src/tests/base64.cpp
@@ -31,12 +31,12 @@ int main( int argc, char *argv[] )
31 Bu::File fOut( argv[1], Bu::File::WriteNew ); 31 Bu::File fOut( argv[1], Bu::File::WriteNew );
32 Bu::Base64 bIn( fIn ); 32 Bu::Base64 bIn( fIn );
33 33
34 char buf[900]; 34 char buf[16];
35 for(;;) 35 for(;;)
36 { 36 {
37 int iRead = bIn.read( buf, 900 ); 37 int iRead = bIn.read( buf, 16 );
38 fOut.write( buf, iRead ); 38 fOut.write( buf, iRead );
39 if( iRead < 900 ) 39 if( iRead < 16 )
40 break; 40 break;
41 } 41 }
42 } 42 }