aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-02-24 00:06:16 +0000
committerMike Buland <eichlan@xagasoft.com>2009-02-24 00:06:16 +0000
commitef2935347099967cc7092fa7f472d91d51571468 (patch)
treeabf0c041a31610fa7f8fb562c3c36a8277c438d2 /src/tests
parent4309066dff46f52690998bbd1f60ec8b1631f142 (diff)
downloadlibbu++-ef2935347099967cc7092fa7f472d91d51571468.tar.gz
libbu++-ef2935347099967cc7092fa7f472d91d51571468.tar.bz2
libbu++-ef2935347099967cc7092fa7f472d91d51571468.tar.xz
libbu++-ef2935347099967cc7092fa7f472d91d51571468.zip
Whoa, lots of updates. Md5 is more general, nids, cache, cachestore, and
cachestorenids all support synchronizing now. Url is pretty much done.
Diffstat (limited to '')
-rw-r--r--src/tests/md5.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/md5.cpp b/src/tests/md5.cpp
index dea957b..2e9c318 100644
--- a/src/tests/md5.cpp
+++ b/src/tests/md5.cpp
@@ -12,12 +12,12 @@ int main( int argc, char *argv[] )
12 Bu::File fIn( *argv, Bu::File::Read ); 12 Bu::File fIn( *argv, Bu::File::Read );
13 Bu::Md5 m; 13 Bu::Md5 m;
14 14
15 char buf[1000]; 15 char buf[100000];
16 for(;;) 16 for(;;)
17 { 17 {
18 int iRead = fIn.read( buf, 1000 ); 18 int iRead = fIn.read( buf, 100000 );
19 m.addData( buf, iRead ); 19 m.addData( buf, iRead );
20 if( iRead < 1000 ) 20 if( iRead < 100000 )
21 break; 21 break;
22 } 22 }
23 23