diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-10-31 05:44:33 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-10-31 05:44:33 +0000 |
commit | bdd4bdd8615b1587974312a92219cbeab0068a7a (patch) | |
tree | c4fd27267755179327673e4fc501740d01ed9b43 /src/tests/sha1.cpp | |
parent | a67fdaa1ef1e3a5eea88d19e327c05330998e8aa (diff) | |
download | libbu++-bdd4bdd8615b1587974312a92219cbeab0068a7a.tar.gz libbu++-bdd4bdd8615b1587974312a92219cbeab0068a7a.tar.bz2 libbu++-bdd4bdd8615b1587974312a92219cbeab0068a7a.tar.xz libbu++-bdd4bdd8615b1587974312a92219cbeab0068a7a.zip |
Changed the file class to be SFile so that it will collide less, all of them
will be named like that, make life easier.
Diffstat (limited to '')
-rw-r--r-- | src/tests/sha1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/sha1.cpp b/src/tests/sha1.cpp index 51c5104..df3113c 100644 --- a/src/tests/sha1.cpp +++ b/src/tests/sha1.cpp | |||
@@ -1,5 +1,5 @@ | |||
1 | #include "sha1.h" | 1 | #include "sha1.h" |
2 | #include "file.h" | 2 | #include "sfile.h" |
3 | 3 | ||
4 | #define BS 1024 | 4 | #define BS 1024 |
5 | 5 | ||
@@ -16,7 +16,7 @@ int main( int argc, char *argv[] ) | |||
16 | char buf[BS]; | 16 | char buf[BS]; |
17 | 17 | ||
18 | Sha1 s; | 18 | Sha1 s; |
19 | File fin( *argv, "rb" ); | 19 | SFile fin( *argv, "rb" ); |
20 | for(;;) | 20 | for(;;) |
21 | { | 21 | { |
22 | int nRead = fin.read( buf, BS ); | 22 | int nRead = fin.read( buf, BS ); |